Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.003868/0.003867, allocations: 181.5 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7393/0.7393, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.583/1.583, allocations: 221.3 MB / 395 MB, free: 10.27 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.001008/0.001008, allocations: 97.41 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5131/0.5141, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.694, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.58/5.274, allocations: 1.882 GB / 2.515 GB, free: 63.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/5.275, allocations: 87.95 kB / 2.515 GB, free: 63.61 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 2.31/7.585, allocations: 0.5786 GB / 3.094 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/7.585, allocations: 8 kB / 3.094 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/7.588, allocations: 454.1 kB / 3.094 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/7.59, allocations: 0.7966 MB / 3.095 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/7.59, allocations: 113.8 kB / 3.095 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/7.59, allocations: 44 kB / 3.095 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001312/7.591, allocations: 0.6833 MB / 3.096 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/7.593, allocations: 0.7903 MB / 3.096 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/7.593, allocations: 7.938 kB / 3.096 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/7.593, allocations: 0 / 3.096 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/7.593, allocations: 29.91 kB / 3.097 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005213/7.598, allocations: 3.263 MB / 3.1 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/7.599, allocations: 475.5 kB / 3.1 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/7.599, allocations: 245.8 kB / 3.1 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/7.599, allocations: 103.4 kB / 3.1 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/7.599, allocations: 42.56 kB / 3.101 GB, free: 4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.896e-06/7.599, allocations: 0 / 3.101 GB, free: 4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.003185/7.603, allocations: 1.297 MB / 3.102 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/7.603, allocations: 55.41 kB / 3.102 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006707/7.603, allocations: 0.5075 MB / 3.102 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/7.603, allocations: 29.7 kB / 3.102 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/7.604, allocations: 362.9 kB / 3.103 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/7.604, allocations: 141.9 kB / 3.103 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/7.604, allocations: 0 / 3.103 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001272/7.604, allocations: 374.8 kB / 3.103 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/7.604, allocations: 221.2 kB / 3.103 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/7.605, allocations: 348.1 kB / 3.104 GB, free: 0.5508 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.4924/8.097, allocations: 1.032 MB / 3.105 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/8.097, allocations: 3.938 kB / 3.105 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001426/8.098, allocations: 0.6425 MB / 3.105 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/8.098, allocations: 3.594 kB / 3.105 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/8.098, allocations: 5.844 kB / 3.105 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.197e-05/8.099, allocations: 7.594 kB / 3.105 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/8.099, allocations: 156.5 kB / 3.106 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/8.099, allocations: 11.75 kB / 3.106 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/8.101, allocations: 87.84 kB / 3.106 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/8.101, allocations: 21.84 kB / 3.106 GB, free: 196.6 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0002027/8.101, allocations: 124 kB / 3.106 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/8.101, allocations: 71.47 kB / 3.106 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/8.101, allocations: 78.06 kB / 3.106 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/8.101, allocations: 6.812 kB / 3.106 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/8.101, allocations: 3.656 kB / 3.106 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008214/8.102, allocations: 0.5277 MB / 3.106 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/8.105, allocations: 1.53 MB / 3.108 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/8.105, allocations: 7.125 kB / 3.108 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/8.106, allocations: 136.3 kB / 3.108 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/8.106, allocations: 11.05 kB / 3.108 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/8.106, allocations: 14.47 kB / 3.108 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/8.106, allocations: 8.844 kB / 3.108 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/8.106, allocations: 3.938 kB / 3.108 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001437/8.107, allocations: 1.116 MB / 3.109 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002303/8.11, allocations: 1.856 MB / 3.111 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/8.11, allocations: 219.1 kB / 3.111 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/8.11, allocations: 7.516 kB / 3.111 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000956/8.111, allocations: 86.86 kB / 3.111 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/8.111, allocations: 35.28 kB / 3.111 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/8.112, allocations: 27.94 kB / 3.111 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006288/8.112, allocations: 398.2 kB / 3.112 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002537/8.115, allocations: 479.3 kB / 3.112 GB, free: 194.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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 Backend phase and start with SimCode phase: time 0.00299/8.118, allocations: 1.499 MB / 3.114 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001158/8.119, allocations: 0.5028 MB / 3.114 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/8.119, allocations: 0 / 3.114 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004814/8.119, allocations: 240.7 kB / 3.114 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/8.122, allocations: 373.9 kB / 3.115 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/8.126, allocations: 1.413 MB / 3.116 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/8.127, allocations: 1.13 MB / 3.117 GB, free: 193 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/8.127, allocations: 3.188 kB / 3.117 GB, free: 193 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)