Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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/BuildingSystems 2.0.0-master/package.mo): time 0.7146/0.7146, allocations: 141.8 MB / 149.1 MB, free: 3.973 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 193.5 kB / 181.9 MB, free: 15.72 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.4 MB / 436 MB, free: 8.84 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009452/0.0009453, allocations: 101 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 273.5 kB / 0.5884 GB, free: 11.89 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1874/0.1894, allocations: 89.64 MB / 0.676 GB, free: 2.16 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.5814, allocations: 82.76 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.599/4.18, allocations: 1.93 GB / 2.687 GB, free: 127.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/4.18, allocations: 91.92 kB / 2.687 GB, free: 127.8 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 1.943/6.124, allocations: 0.6292 GB / 3.316 GB, free: 26 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/6.124, allocations: 9 kB / 3.316 GB, free: 26 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/6.126, allocations: 393.8 kB / 3.317 GB, free: 25.61 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/6.13, allocations: 1.218 MB / 3.318 GB, free: 24.35 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/6.13, allocations: 36 kB / 3.318 GB, free: 24.31 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/6.13, allocations: 63.94 kB / 3.318 GB, free: 24.25 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001564/6.132, allocations: 0.703 MB / 3.319 GB, free: 23.55 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/6.133, allocations: 0.9524 MB / 3.319 GB, free: 22.53 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/6.134, allocations: 3.984 kB / 3.319 GB, free: 22.52 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/6.134, allocations: 0 / 3.319 GB, free: 22.52 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/6.134, allocations: 38 kB / 3.32 GB, free: 22.49 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006222/6.14, allocations: 5.049 MB / 3.324 GB, free: 17.11 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/6.141, allocations: 0.6377 MB / 3.325 GB, free: 16.46 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/6.141, allocations: 317.4 kB / 3.325 GB, free: 16.16 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/6.142, allocations: 311.9 kB / 3.326 GB, free: 15.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/6.142, allocations: 43.22 kB / 3.326 GB, free: 15.75 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=70): time 3.466e-06/6.142, allocations: 0 / 3.326 GB, free: 15.75 MB / 0.6982 GB Notification: Performance of matching and sorting (n=70): time 0.002117/6.144, allocations: 0.7451 MB / 3.326 GB, free: 14.99 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/6.144, allocations: 170.9 kB / 3.327 GB, free: 14.79 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/6.145, allocations: 0.592 MB / 3.327 GB, free: 14.18 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.922e-05/6.145, allocations: 25.7 kB / 3.327 GB, free: 14.14 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/6.145, allocations: 411.4 kB / 3.328 GB, free: 13.73 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/6.145, allocations: 236.4 kB / 3.328 GB, free: 13.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/6.145, allocations: 3.938 kB / 3.328 GB, free: 13.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/6.146, allocations: 337.9 kB / 3.328 GB, free: 13.16 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/6.146, allocations: 229.5 kB / 3.328 GB, free: 12.94 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/6.146, allocations: 461 kB / 3.329 GB, free: 12.39 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/6.147, allocations: 370.8 kB / 3.329 GB, free: 12.03 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/6.147, allocations: 0 / 3.329 GB, free: 12.03 MB / 0.6982 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001367/6.148, allocations: 0.8152 MB / 3.33 GB, free: 11.21 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000309/6.149, allocations: 1.66 MB / 3.332 GB, free: 9.422 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/6.149, allocations: 8 kB / 3.332 GB, free: 9.414 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/6.149, allocations: 8 kB / 3.332 GB, free: 9.406 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/6.15, allocations: 267.7 kB / 3.332 GB, free: 9.145 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/6.152, allocations: 1.349 MB / 3.333 GB, free: 7.68 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/6.153, allocations: 107.5 kB / 3.333 GB, free: 7.574 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/6.153, allocations: 31.98 kB / 3.333 GB, free: 7.543 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/6.153, allocations: 4 kB / 3.333 GB, free: 7.539 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/6.154, allocations: 0.678 MB / 3.334 GB, free: 6.859 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/6.154, allocations: 4 kB / 3.334 GB, free: 6.855 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/6.154, allocations: 8 kB / 3.334 GB, free: 6.848 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/6.155, allocations: 267.7 kB / 3.334 GB, free: 6.586 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009481/6.156, allocations: 1.361 MB / 3.336 GB, free: 5.105 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/6.157, allocations: 99.47 kB / 3.336 GB, free: 5.008 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/6.158, allocations: 32 kB / 3.336 GB, free: 4.977 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002029/6.158, allocations: 116.8 kB / 3.336 GB, free: 4.855 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/6.158, allocations: 106.8 kB / 3.336 GB, free: 4.75 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/6.16, allocations: 0.8072 MB / 3.337 GB, free: 3.93 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/6.16, allocations: 4 kB / 3.337 GB, free: 3.926 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/6.16, allocations: 4 kB / 3.337 GB, free: 3.922 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/6.161, allocations: 0.7415 MB / 3.337 GB, free: 3.145 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/6.164, allocations: 1.878 MB / 3.339 GB, free: 1.195 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/6.164, allocations: 4 kB / 3.339 GB, free: 1.191 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/6.165, allocations: 156 kB / 3.339 GB, free: 1.039 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/6.165, allocations: 48.75 kB / 3.339 GB, free: 0.9883 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/6.166, allocations: 11.91 kB / 3.339 GB, free: 0.9766 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2767/6.442, allocations: 1.316 MB / 3.341 GB, free: 153.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/6.442, allocations: 7.422 kB / 3.341 GB, free: 153.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002316/6.445, allocations: 1.362 MB / 3.342 GB, free: 153.5 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002836/6.447, allocations: 2.238 MB / 3.344 GB, free: 152.8 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/6.448, allocations: 253.7 kB / 3.345 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/6.448, allocations: 6.438 kB / 3.345 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007733/6.449, allocations: 66.16 kB / 3.345 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/6.449, allocations: 44.97 kB / 3.345 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/6.449, allocations: 25.52 kB / 3.345 GB, free: 152.7 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005799/6.45, allocations: 458.1 kB / 3.345 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003695/6.453, allocations: 1.101 MB / 3.346 GB, free: 152.6 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002195/6.456, allocations: 2.005 MB / 3.348 GB, free: 152.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.003339/6.459, allocations: 1.18 MB / 3.349 GB, free: 152.1 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/6.459, allocations: 3.188 kB / 3.349 GB, free: 152.1 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006737/6.46, allocations: 434.8 kB / 3.35 GB, free: 152 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/6.462, allocations: 402.1 kB / 3.35 GB, free: 152 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/6.466, allocations: 1.688 MB / 3.352 GB, free: 151.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009347/6.467, allocations: 1.266 MB / 3.353 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of SimCode: time 9.42e-07/6.467, allocations: 0 / 3.353 GB, free: 150.8 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)