Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.003375/0.003375, allocations: 185.6 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.7099/0.7099, 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.646/1.646, allocations: 221.3 MB / 395 MB, free: 10.21 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.00111/0.001111, allocations: 93.73 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5167/0.5179, allocations: 88.44 MB / 0.5529 GB, free: 88.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.7399, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.882/5.622, allocations: 1.881 GB / 2.515 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/5.622, allocations: 87.48 kB / 2.515 GB, free: 64.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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 1.748/7.37, allocations: 463.4 MB / 2.967 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/7.37, allocations: 8 kB / 2.967 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/7.373, allocations: 335.8 kB / 2.967 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/7.374, allocations: 0.8616 MB / 2.968 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/7.374, allocations: 24 kB / 2.968 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/7.374, allocations: 55.98 kB / 2.968 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001247/7.376, allocations: 0.7224 MB / 2.969 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/7.377, allocations: 0.8367 MB / 2.97 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/7.377, allocations: 3.906 kB / 2.97 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/7.377, allocations: 0 / 2.97 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/7.377, allocations: 33.98 kB / 2.97 GB, free: 140 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/7.382, allocations: 3.314 MB / 2.973 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/7.383, allocations: 445.9 kB / 2.974 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/7.383, allocations: 255.1 kB / 2.974 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/7.383, allocations: 107.7 kB / 2.974 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/7.383, allocations: 39 kB / 2.974 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/7.383, allocations: 3.062 kB / 2.974 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.003291/7.387, allocations: 1.359 MB / 2.975 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/7.387, allocations: 55.84 kB / 2.975 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/7.387, allocations: 0.5154 MB / 2.976 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/7.388, allocations: 29.7 kB / 2.976 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/7.388, allocations: 386.8 kB / 2.976 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/7.388, allocations: 168.3 kB / 2.976 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/7.388, allocations: 0 / 2.976 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001132/7.388, allocations: 382.8 kB / 2.977 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/7.388, allocations: 209.2 kB / 2.977 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/7.389, allocations: 330.8 kB / 2.977 GB, free: 132.2 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.002597/7.391, allocations: 0.9399 MB / 2.978 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/7.391, allocations: 0 / 2.978 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001114/7.392, allocations: 0.6996 MB / 2.979 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/7.392, allocations: 4.781 kB / 2.979 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/7.392, allocations: 4 kB / 2.979 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/7.393, allocations: 96.12 kB / 2.979 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/7.393, allocations: 134.7 kB / 2.979 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/7.395, allocations: 2.783 MB / 2.982 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/7.396, allocations: 46.31 kB / 2.982 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/7.397, allocations: 24.06 kB / 2.982 GB, free: 127.2 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: 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 (67): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002239/7.397, allocations: 120.8 kB / 2.982 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/7.397, allocations: 83 kB / 2.982 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/7.397, allocations: 91.02 kB / 2.982 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/7.397, allocations: 4 kB / 2.982 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/7.397, allocations: 2.531 kB / 2.982 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008669/7.398, allocations: 0.7871 MB / 2.983 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/7.401, allocations: 1.588 MB / 2.985 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/7.401, allocations: 7.812 kB / 2.985 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/7.401, allocations: 111.9 kB / 2.985 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/7.401, allocations: 60.83 kB / 2.985 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/7.401, allocations: 11.7 kB / 2.985 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/7.403, allocations: 1.513 MB / 2.986 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/7.403, allocations: 4 kB / 2.986 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001505/7.404, allocations: 1.143 MB / 2.987 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001977/7.406, allocations: 1.866 MB / 2.989 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/7.407, allocations: 216.1 kB / 2.989 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/7.407, allocations: 11.98 kB / 2.989 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/7.408, allocations: 51.45 kB / 2.989 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/7.408, allocations: 35.81 kB / 2.989 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/7.408, allocations: 27.98 kB / 2.989 GB, free: 119 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005751/7.408, allocations: 411.1 kB / 2.99 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002399/7.411, allocations: 0.496 MB / 2.99 GB, free: 118.1 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 (45): * Single equations (assignments): 44 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/7.413, allocations: 1.451 MB / 2.992 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001084/7.414, allocations: 0.7039 MB / 2.992 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/7.414, allocations: 0 / 2.992 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/7.414, allocations: 345.4 kB / 2.993 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/7.416, allocations: 429.5 kB / 2.993 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/7.419, allocations: 1.331 MB / 2.994 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007388/7.42, allocations: 1.179 MB / 2.996 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/7.42, allocations: 0 / 2.996 GB, free: 112.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)