Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.258/1.258, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009794/0.0009794, allocations: 173.3 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.171/1.171, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008824/0.0008825, allocations: 85.45 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3707/0.3716, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.5398, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.301/4.841, allocations: 2.485 GB / 3.369 GB, free: 266.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/4.841, allocations: 87.94 kB / 3.369 GB, free: 266.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 5.769/10.61, allocations: 2.009 GB / 5.379 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/10.61, allocations: 7.188 kB / 5.379 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007911/10.62, allocations: 1.285 MB / 5.38 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/10.63, allocations: 6.836 MB / 5.387 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/10.63, allocations: 129.4 kB / 5.387 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/10.63, allocations: 248.7 kB / 5.387 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008132/10.64, allocations: 4.677 MB / 5.392 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007801/10.65, allocations: 5.095 MB / 5.397 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.894e-05/10.65, allocations: 6.781 kB / 5.397 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003811/10.65, allocations: 7.156 kB / 5.397 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/10.65, allocations: 199.9 kB / 5.397 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03051/10.68, allocations: 24.58 MB / 5.421 GB, free: 92.56 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/10.68, allocations: 3.518 MB / 5.424 GB, free: 92.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/10.69, allocations: 2.096 MB / 5.426 GB, free: 92.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009553/10.69, allocations: 1.087 MB / 5.427 GB, free: 91.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002248/10.69, allocations: 1.998 MB / 5.429 GB, free: 91.06 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=273): time 5.32e-06/10.69, allocations: 0 / 5.429 GB, free: 91.06 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277): time 0.0193/10.71, allocations: 9.735 MB / 5.439 GB, free: 88.54 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/10.71, allocations: 193.1 kB / 5.439 GB, free: 88.35 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004542/10.71, allocations: 3.706 MB / 5.443 GB, free: 88.07 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004235/10.71, allocations: 33.05 kB / 5.443 GB, free: 88.04 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/10.72, allocations: 1.477 MB / 5.444 GB, free: 87.28 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/10.72, allocations: 0.9183 MB / 5.445 GB, free: 86.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/10.72, allocations: 2.562 kB / 5.445 GB, free: 86.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001276/10.72, allocations: 425.4 kB / 5.445 GB, free: 86.37 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/10.72, allocations: 1.47 MB / 5.447 GB, free: 86.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/10.72, allocations: 2.216 MB / 5.449 GB, free: 85.62 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/10.72, allocations: 2.051 MB / 5.451 GB, free: 85.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/10.72, allocations: 3.938 kB / 5.451 GB, free: 85.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.006498/10.73, allocations: 4.194 MB / 5.455 GB, free: 85.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007301/10.73, allocations: 5.291 MB / 5.46 GB, free: 79.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/10.73, allocations: 16.56 kB / 5.46 GB, free: 79.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/10.73, allocations: 123.1 kB / 5.46 GB, free: 79.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/10.73, allocations: 0.6189 MB / 5.461 GB, free: 79.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/10.74, allocations: 2.608 MB / 5.464 GB, free: 77.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/10.74, allocations: 414.8 kB / 5.464 GB, free: 77.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/10.74, allocations: 117.1 kB / 5.464 GB, free: 77.89 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/10.74, allocations: 5.812 kB / 5.464 GB, free: 77.89 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005477/10.75, allocations: 3.738 MB / 5.468 GB, free: 77.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/10.75, allocations: 10.75 kB / 5.468 GB, free: 77.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/10.75, allocations: 128.5 kB / 5.468 GB, free: 77.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/10.75, allocations: 0.6122 MB / 5.469 GB, free: 77.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/10.75, allocations: 1.986 MB / 5.47 GB, free: 76.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/10.76, allocations: 402.3 kB / 5.471 GB, free: 76.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003473/10.76, allocations: 117.6 kB / 5.471 GB, free: 76.48 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (337): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007243/10.76, allocations: 242.7 kB / 5.471 GB, free: 76.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/10.76, allocations: 419.7 kB / 5.472 GB, free: 76.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006446/10.77, allocations: 4 MB / 5.476 GB, free: 75.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/10.77, allocations: 25.34 kB / 5.476 GB, free: 75.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/10.77, allocations: 2.938 kB / 5.476 GB, free: 75.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004972/10.77, allocations: 3.376 MB / 5.479 GB, free: 75.65 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/10.79, allocations: 9.935 MB / 5.489 GB, free: 74.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/10.79, allocations: 3.375 kB / 5.489 GB, free: 74.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/10.79, allocations: 0.5868 MB / 5.489 GB, free: 74.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003201/10.79, allocations: 108.8 kB / 5.489 GB, free: 74.64 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/10.79, allocations: 52.58 kB / 5.489 GB, free: 74.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/10.79, allocations: 2.582 MB / 5.492 GB, free: 72.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/10.79, allocations: 8.125 kB / 5.492 GB, free: 72.78 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008284/10.8, allocations: 6.799 MB / 5.498 GB, free: 71.57 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01156/10.81, allocations: 9.764 MB / 5.508 GB, free: 69.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00338/10.81, allocations: 1.086 MB / 5.509 GB, free: 69.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/10.82, allocations: 36.78 kB / 5.509 GB, free: 69.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004144/10.82, allocations: 366.8 kB / 5.509 GB, free: 69.65 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/10.82, allocations: 154.3 kB / 5.51 GB, free: 69.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/10.82, allocations: 111.1 kB / 5.51 GB, free: 69.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.004081/10.82, allocations: 2.879 MB / 5.512 GB, free: 69.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01213/10.84, allocations: 3.28 MB / 5.516 GB, free: 69.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003616/10.84, allocations: 3.014 MB / 5.519 GB, free: 68.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008124/10.85, allocations: 5.943 MB / 5.524 GB, free: 68.01 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/10.85, allocations: 1.594 kB / 5.524 GB, free: 68.01 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002728/10.85, allocations: 1.967 MB / 5.526 GB, free: 67.84 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/10.86, allocations: 2.533 MB / 5.529 GB, free: 67.79 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/10.88, allocations: 10.22 MB / 5.539 GB, free: 66.04 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00627/10.89, allocations: 4.488 MB / 5.543 GB, free: 65.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/10.89, allocations: 0 / 5.543 GB, free: 65.2 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)