Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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/Complex 4.0.0+maint.om/package.mo): time 0.004196/0.004195, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8093/0.8093, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.73/1.73, allocations: 221.3 MB / 395 MB, free: 10.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.000985, allocations: 102.8 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5894/0.5905, allocations: 88.43 MB / 0.5529 GB, free: 89.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.8296, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.856/6.686, allocations: 2.128 GB / 2.761 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/6.686, allocations: 91.94 kB / 2.761 GB, free: 111.4 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 1.872/8.558, allocations: 487.7 MB / 3.238 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/8.558, allocations: 11.55 kB / 3.238 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/8.562, allocations: 0.5038 MB / 3.238 GB, free: 156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/8.566, allocations: 1.372 MB / 3.239 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/8.566, allocations: 30.75 kB / 3.239 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/8.566, allocations: 61.62 kB / 3.24 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002352/8.569, allocations: 1.17 MB / 3.241 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/8.571, allocations: 1.132 MB / 3.242 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/8.571, allocations: 1.312 kB / 3.242 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/8.571, allocations: 9.469 kB / 3.242 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/8.571, allocations: 35.94 kB / 3.242 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007904/8.579, allocations: 4.808 MB / 3.247 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/8.581, allocations: 0.9351 MB / 3.247 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009301/8.582, allocations: 0.5705 MB / 3.248 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003718/8.582, allocations: 202.1 kB / 3.248 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/8.582, allocations: 50.16 kB / 3.248 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 4.198e-06/8.582, allocations: 1.125 kB / 3.248 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.005555/8.588, allocations: 2.549 MB / 3.251 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/8.588, allocations: 63.47 kB / 3.251 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/8.589, allocations: 0.7788 MB / 3.252 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/8.589, allocations: 27.8 kB / 3.252 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/8.589, allocations: 399.4 kB / 3.252 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/8.589, allocations: 281.2 kB / 3.252 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/8.59, allocations: 0 / 3.252 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/8.59, allocations: 336.7 kB / 3.253 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/8.59, allocations: 439.6 kB / 3.253 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/8.591, allocations: 0.5966 MB / 3.254 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008472/8.592, allocations: 0.5584 MB / 3.254 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/8.592, allocations: 0.9375 kB / 3.254 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001863/8.594, allocations: 1.208 MB / 3.255 GB, free: 145 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002321/8.594, allocations: 1.045 MB / 3.256 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/8.594, allocations: 15.64 kB / 3.256 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/8.594, allocations: 64.83 kB / 3.256 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/8.595, allocations: 191.7 kB / 3.257 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/8.597, allocations: 2.907 MB / 3.259 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/8.599, allocations: 114.2 kB / 3.259 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/8.599, allocations: 24.06 kB / 3.26 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/8.599, allocations: 6.656 kB / 3.26 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/8.601, allocations: 1.07 MB / 3.261 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/8.601, allocations: 0 / 3.261 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/8.601, allocations: 80.31 kB / 3.261 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/8.602, allocations: 167.8 kB / 3.261 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/8.603, allocations: 1.707 MB / 3.262 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/8.604, allocations: 102 kB / 3.263 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/8.604, allocations: 43.77 kB / 3.263 GB, free: 137.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002728/8.605, allocations: 120.7 kB / 3.263 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/8.605, allocations: 110.7 kB / 3.263 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/8.607, allocations: 1.152 MB / 3.264 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/8.607, allocations: 15.7 kB / 3.264 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/8.607, allocations: 0 / 3.264 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/8.608, allocations: 1.215 MB / 3.265 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/8.612, allocations: 2.638 MB / 3.268 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/8.612, allocations: 0 / 3.268 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/8.613, allocations: 231.5 kB / 3.268 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/8.613, allocations: 68.81 kB / 3.268 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/8.613, allocations: 12 kB / 3.268 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/8.615, allocations: 2.909 MB / 3.271 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/8.615, allocations: 4 kB / 3.271 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002102/8.617, allocations: 2.034 MB / 3.273 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003088/8.62, allocations: 3.189 MB / 3.276 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008531/8.621, allocations: 315.8 kB / 3.276 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/8.621, allocations: 15.89 kB / 3.276 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/8.623, allocations: 86.78 kB / 3.276 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/8.623, allocations: 43.59 kB / 3.276 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/8.623, allocations: 35.98 kB / 3.276 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008052/8.623, allocations: 0.6166 MB / 3.277 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004322/8.628, allocations: 1.031 MB / 3.278 GB, free: 120.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002312/8.63, allocations: 1.516 MB / 3.28 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00314/8.633, allocations: 1.854 MB / 3.281 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/8.633, allocations: 4 kB / 3.281 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007847/8.634, allocations: 0.6507 MB / 3.282 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/8.638, allocations: 0.7025 MB / 3.283 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/8.643, allocations: 2.636 MB / 3.285 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/8.645, allocations: 1.561 MB / 3.287 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.014e-06/8.645, allocations: 0 / 3.287 GB, free: 112.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)