Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.7431/0.7431, allocations: 141.8 MB / 149.1 MB, free: 0.9648 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 181.2 kB / 182 MB, free: 1.781 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 221.3 MB / 436 MB, free: 7.086 MB / 323 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009246/0.0009247, allocations: 98.98 kB / 0.507 GB, free: 6.383 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 283.9 kB / 0.5884 GB, free: 97.98 MB / 451 MB Notification: Performance of FrontEnd - loaded program: time 0.177/0.1788, allocations: 89.64 MB / 0.676 GB, free: 8.973 MB / 451 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.6162, allocations: 82.76 MB / 0.7568 GB, free: 68.49 MB / 0.5029 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.313/3.929, allocations: 1.882 GB / 2.639 GB, free: 218.9 MB / 0.6904 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/3.93, allocations: 92.58 kB / 2.639 GB, free: 218.9 MB / 0.6904 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 2.426/6.356, allocations: 0.7583 GB / 3.397 GB, free: 113.3 MB / 0.706 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/6.356, allocations: 12.12 kB / 3.397 GB, free: 113.3 MB / 0.706 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/6.36, allocations: 0.503 MB / 3.398 GB, free: 113.2 MB / 0.706 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/6.362, allocations: 1.108 MB / 3.399 GB, free: 113 MB / 0.706 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/6.363, allocations: 36.06 kB / 3.399 GB, free: 113 MB / 0.706 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/6.363, allocations: 72.47 kB / 3.399 GB, free: 112.9 MB / 0.706 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001858/6.365, allocations: 0.9592 MB / 3.4 GB, free: 112.9 MB / 0.706 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/6.367, allocations: 1.068 MB / 3.401 GB, free: 112.8 MB / 0.706 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/6.367, allocations: 2.562 kB / 3.401 GB, free: 112.8 MB / 0.706 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/6.367, allocations: 3.469 kB / 3.401 GB, free: 112.8 MB / 0.706 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/6.367, allocations: 41.36 kB / 3.401 GB, free: 112.8 MB / 0.706 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005745/6.373, allocations: 3.977 MB / 3.405 GB, free: 111.4 MB / 0.706 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/6.373, allocations: 458.4 kB / 3.405 GB, free: 111.3 MB / 0.706 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/6.374, allocations: 433 kB / 3.406 GB, free: 111.3 MB / 0.706 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003955/6.374, allocations: 297.6 kB / 3.406 GB, free: 111 MB / 0.706 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/6.374, allocations: 44.22 kB / 3.406 GB, free: 111 MB / 0.706 GB Notification: Performance of pre-optimization done (n=74): time 2.524e-06/6.374, allocations: 0 / 3.406 GB, free: 111 MB / 0.706 GB Notification: Performance of matching and sorting (n=77): time 0.004639/6.379, allocations: 1.976 MB / 3.408 GB, free: 110.5 MB / 0.706 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/6.379, allocations: 67.47 kB / 3.408 GB, free: 110.5 MB / 0.706 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/6.38, allocations: 0.5945 MB / 3.408 GB, free: 110.3 MB / 0.706 GB Notification: Performance of collectPreVariables (initialization): time 8.327e-05/6.38, allocations: 33.33 kB / 3.409 GB, free: 110.3 MB / 0.706 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/6.38, allocations: 438.9 kB / 3.409 GB, free: 110.1 MB / 0.706 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/6.38, allocations: 262 kB / 3.409 GB, free: 110 MB / 0.706 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/6.38, allocations: 0 / 3.409 GB, free: 110 MB / 0.706 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/6.38, allocations: 343.2 kB / 3.41 GB, free: 109.7 MB / 0.706 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/6.381, allocations: 295.5 kB / 3.41 GB, free: 109.7 MB / 0.706 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/6.381, allocations: 496.7 kB / 3.41 GB, free: 109.4 MB / 0.706 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/6.382, allocations: 390.9 kB / 3.411 GB, free: 109.4 MB / 0.706 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/6.382, allocations: 5.625 kB / 3.411 GB, free: 109.4 MB / 0.706 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001185/6.383, allocations: 0.8839 MB / 3.412 GB, free: 109.3 MB / 0.706 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/6.383, allocations: 7.844 kB / 3.412 GB, free: 109.3 MB / 0.706 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/6.383, allocations: 9.891 kB / 3.412 GB, free: 109.3 MB / 0.706 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/6.383, allocations: 7.062 kB / 3.412 GB, free: 109.3 MB / 0.706 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/6.384, allocations: 173.8 kB / 3.412 GB, free: 109.3 MB / 0.706 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/6.384, allocations: 13.09 kB / 3.412 GB, free: 109.3 MB / 0.706 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/6.385, allocations: 46.83 kB / 3.412 GB, free: 109.3 MB / 0.706 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/6.385, allocations: 34.91 kB / 3.412 GB, free: 109.3 MB / 0.706 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001734/6.385, allocations: 135.4 kB / 3.412 GB, free: 109.2 MB / 0.706 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/6.385, allocations: 106.7 kB / 3.412 GB, free: 109.2 MB / 0.706 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/6.386, allocations: 115.3 kB / 3.412 GB, free: 109.2 MB / 0.706 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/6.386, allocations: 5.812 kB / 3.412 GB, free: 109.2 MB / 0.706 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/6.386, allocations: 0 / 3.412 GB, free: 109.2 MB / 0.706 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/6.387, allocations: 0.979 MB / 3.413 GB, free: 108.8 MB / 0.706 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/6.39, allocations: 2.465 MB / 3.416 GB, free: 108.3 MB / 0.706 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/6.39, allocations: 8.375 kB / 3.416 GB, free: 108.3 MB / 0.706 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/6.391, allocations: 145.7 kB / 3.416 GB, free: 108.3 MB / 0.706 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/6.391, allocations: 102.2 kB / 3.416 GB, free: 108.2 MB / 0.706 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/6.391, allocations: 15.09 kB / 3.416 GB, free: 108.2 MB / 0.706 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/6.393, allocations: 2.78 MB / 3.418 GB, free: 105.9 MB / 0.706 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/6.393, allocations: 11.69 kB / 3.418 GB, free: 105.9 MB / 0.706 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001816/6.395, allocations: 1.85 MB / 3.42 GB, free: 105 MB / 0.706 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002552/6.398, allocations: 2.785 MB / 3.423 GB, free: 103.8 MB / 0.706 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/6.398, allocations: 270.3 kB / 3.423 GB, free: 103.6 MB / 0.706 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/6.398, allocations: 13.91 kB / 3.423 GB, free: 103.6 MB / 0.706 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/6.399, allocations: 54.69 kB / 3.423 GB, free: 103.6 MB / 0.706 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/6.399, allocations: 66.7 kB / 3.423 GB, free: 103.6 MB / 0.706 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/6.4, allocations: 38.83 kB / 3.423 GB, free: 103.6 MB / 0.706 GB Notification: Performance of sort global known variables: time 0.0005228/6.4, allocations: 469.3 kB / 3.424 GB, free: 103.5 MB / 0.706 GB Notification: Performance of remove unused functions: time 0.002457/6.403, allocations: 0.6546 MB / 3.425 GB, free: 103.5 MB / 0.706 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001993/6.405, allocations: 1.876 MB / 3.426 GB, free: 103 MB / 0.706 GB Notification: Performance of simCode: created initialization part: time 0.001012/6.406, allocations: 0.7269 MB / 3.427 GB, free: 103 MB / 0.706 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/6.406, allocations: 5.281 kB / 3.427 GB, free: 103 MB / 0.706 GB Notification: Performance of simCode: created simulation system equations: time 0.0006871/6.406, allocations: 0.5757 MB / 3.428 GB, free: 102.8 MB / 0.706 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/6.41, allocations: 0.6172 MB / 3.428 GB, free: 102.8 MB / 0.706 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/6.414, allocations: 2.101 MB / 3.43 GB, free: 102.2 MB / 0.706 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/6.415, allocations: 1.368 MB / 3.432 GB, free: 101.4 MB / 0.706 GB Notification: Performance of SimCode: time 7.12e-07/6.415, allocations: 0 / 3.432 GB, free: 101.4 MB / 0.706 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)