Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_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.004359/0.004359, allocations: 179.5 kB / 7.458 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.7501/0.7501, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.617/1.617, allocations: 221.3 MB / 395 MB, free: 10.25 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.001086/0.001086, allocations: 100.5 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4443/0.4454, allocations: 88.43 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.645, allocations: 82.29 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.495/5.14, allocations: 1.882 GB / 2.515 GB, free: 65.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/5.14, allocations: 91.94 kB / 2.515 GB, free: 65.3 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.269/7.409, allocations: 0.5786 GB / 3.094 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/7.409, allocations: 8 kB / 3.094 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/7.411, allocations: 454.1 kB / 3.094 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/7.413, allocations: 0.8004 MB / 3.095 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/7.413, allocations: 105.9 kB / 3.095 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/7.413, allocations: 44 kB / 3.095 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001116/7.415, allocations: 0.6795 MB / 3.096 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/7.416, allocations: 0.798 MB / 3.096 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/7.416, allocations: 0 / 3.096 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/7.416, allocations: 3.984 kB / 3.096 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/7.416, allocations: 33.91 kB / 3.097 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/7.421, allocations: 3.265 MB / 3.1 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/7.421, allocations: 455.7 kB / 3.1 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/7.422, allocations: 261.7 kB / 3.1 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/7.422, allocations: 103.4 kB / 3.1 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/7.422, allocations: 38.56 kB / 3.101 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 1.893e-06/7.422, allocations: 0 / 3.101 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.002758/7.425, allocations: 1.301 MB / 3.102 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/7.425, allocations: 55.41 kB / 3.102 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/7.425, allocations: 0.5036 MB / 3.102 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/7.425, allocations: 29.69 kB / 3.102 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/7.426, allocations: 362.9 kB / 3.103 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/7.426, allocations: 142 kB / 3.103 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/7.426, allocations: 0 / 3.103 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001015/7.426, allocations: 374.8 kB / 3.103 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/7.426, allocations: 221.2 kB / 3.103 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/7.426, allocations: 344.2 kB / 3.104 GB, free: 1.125 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.002466/7.429, allocations: 1.038 MB / 3.105 GB, free: 72 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/7.429, allocations: 4 kB / 3.105 GB, free: 68 kB / 0.6823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.3834/7.812, allocations: 0.637 MB / 3.105 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/7.812, allocations: 9.406 kB / 3.105 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/7.812, allocations: 10.8 kB / 3.105 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/7.812, allocations: 10.53 kB / 3.105 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/7.813, allocations: 165.2 kB / 3.106 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/7.813, allocations: 4.406 kB / 3.106 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/7.815, allocations: 87.95 kB / 3.106 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/7.815, allocations: 25.28 kB / 3.106 GB, free: 195.4 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.0001985/7.815, allocations: 120.6 kB / 3.106 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/7.815, allocations: 74.41 kB / 3.106 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/7.815, allocations: 80.98 kB / 3.106 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/7.815, allocations: 6.594 kB / 3.106 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/7.815, allocations: 0 / 3.106 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007333/7.816, allocations: 0.5248 MB / 3.106 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/7.819, allocations: 1.527 MB / 3.108 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/7.819, allocations: 3.719 kB / 3.108 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/7.82, allocations: 141.5 kB / 3.108 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/7.82, allocations: 7.344 kB / 3.108 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/7.82, allocations: 9.719 kB / 3.108 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/7.82, allocations: 7.547 kB / 3.108 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/7.82, allocations: 3.438 kB / 3.108 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001264/7.821, allocations: 1.126 MB / 3.109 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001888/7.823, allocations: 1.853 MB / 3.111 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/7.823, allocations: 219.5 kB / 3.111 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/7.824, allocations: 7.156 kB / 3.111 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/7.825, allocations: 89.69 kB / 3.111 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/7.825, allocations: 29.34 kB / 3.111 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/7.825, allocations: 28.52 kB / 3.111 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005183/7.825, allocations: 399.3 kB / 3.112 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002199/7.827, allocations: 475.4 kB / 3.112 GB, free: 193.2 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.002093/7.83, allocations: 1.507 MB / 3.114 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008828/7.83, allocations: 0.4949 MB / 3.114 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/7.831, allocations: 3.75 kB / 3.114 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/7.831, allocations: 240.6 kB / 3.114 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/7.833, allocations: 376.8 kB / 3.115 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/7.837, allocations: 1.414 MB / 3.116 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/7.838, allocations: 1.131 MB / 3.117 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.394e-06/7.838, allocations: 3.344 kB / 3.117 GB, free: 191.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)