Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.005165/0.005165, allocations: 184.3 kB / 7.462 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.8355/0.8355, 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.725/1.725, allocations: 221.3 MB / 395 MB, free: 10.18 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.001281/0.001281, allocations: 92.47 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.573/0.5743, allocations: 88.43 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.7703, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.578/5.348, allocations: 1.882 GB / 2.515 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/5.349, allocations: 83.95 kB / 2.515 GB, free: 77.89 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 2.142/7.491, allocations: 0.5726 GB / 3.088 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/7.491, allocations: 8 kB / 3.088 GB, free: 29.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/7.493, allocations: 342.3 kB / 3.088 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/7.494, allocations: 0.8159 MB / 3.089 GB, free: 28.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/7.495, allocations: 109.9 kB / 3.089 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/7.495, allocations: 52 kB / 3.089 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001156/7.496, allocations: 0.699 MB / 3.09 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/7.497, allocations: 0.8902 MB / 3.091 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/7.497, allocations: 4 kB / 3.091 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/7.497, allocations: 4 kB / 3.091 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/7.497, allocations: 37.89 kB / 3.091 GB, free: 26.19 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004893/7.502, allocations: 3.901 MB / 3.095 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/7.503, allocations: 370.6 kB / 3.095 GB, free: 21.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/7.503, allocations: 205.4 kB / 3.095 GB, free: 21.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/7.503, allocations: 101.1 kB / 3.095 GB, free: 21.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/7.503, allocations: 38.56 kB / 3.095 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.657e-06/7.503, allocations: 0 / 3.095 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.002433/7.506, allocations: 1.124 MB / 3.097 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/7.506, allocations: 55.41 kB / 3.097 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/7.507, allocations: 0.5661 MB / 3.097 GB, free: 19.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.013e-05/7.507, allocations: 25.7 kB / 3.097 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/7.507, allocations: 414.4 kB / 3.098 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/7.507, allocations: 134 kB / 3.098 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/7.507, allocations: 4 kB / 3.098 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001129/7.507, allocations: 378.8 kB / 3.098 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/7.507, allocations: 197.2 kB / 3.098 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/7.508, allocations: 368.7 kB / 3.099 GB, free: 17.93 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.001825/7.509, allocations: 0.7161 MB / 3.099 GB, free: 17.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/7.509, allocations: 0 / 3.099 GB, free: 17.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009241/7.51, allocations: 0.6293 MB / 3.1 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/7.51, allocations: 7.938 kB / 3.1 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/7.51, allocations: 12 kB / 3.1 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/7.51, allocations: 8 kB / 3.1 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/7.511, allocations: 143.8 kB / 3.1 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/7.511, allocations: 11.94 kB / 3.1 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009671/7.512, allocations: 91.69 kB / 3.1 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/7.512, allocations: 27.98 kB / 3.1 GB, free: 16.26 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: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001498/7.512, allocations: 120.8 kB / 3.1 GB, free: 16.13 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/7.512, allocations: 79.06 kB / 3.1 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/7.513, allocations: 74.8 kB / 3.1 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/7.513, allocations: 7.984 kB / 3.1 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/7.513, allocations: 4 kB / 3.1 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005702/7.513, allocations: 0.6401 MB / 3.101 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/7.515, allocations: 1.453 MB / 3.102 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/7.515, allocations: 4 kB / 3.103 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/7.516, allocations: 87.89 kB / 3.103 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/7.516, allocations: 8 kB / 3.103 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/7.516, allocations: 7.906 kB / 3.103 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/7.516, allocations: 11.94 kB / 3.103 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/7.516, allocations: 4 kB / 3.103 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009885/7.517, allocations: 0.9966 MB / 3.104 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001412/7.518, allocations: 1.655 MB / 3.105 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/7.519, allocations: 212.2 kB / 3.105 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/7.519, allocations: 11.84 kB / 3.105 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007088/7.52, allocations: 47.95 kB / 3.105 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/7.52, allocations: 27.88 kB / 3.105 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/7.52, allocations: 31.98 kB / 3.106 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005583/7.52, allocations: 435.1 kB / 3.106 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002119/7.522, allocations: 491.9 kB / 3.106 GB, free: 9.336 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.00201/7.524, allocations: 1.513 MB / 3.108 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008135/7.525, allocations: 433.5 kB / 3.108 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/7.525, allocations: 7.938 kB / 3.108 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/7.525, allocations: 179.7 kB / 3.108 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/7.527, allocations: 391.1 kB / 3.109 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/7.53, allocations: 1.369 MB / 3.11 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/7.531, allocations: 1.191 MB / 3.111 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/7.531, allocations: 0 / 3.111 GB, free: 4.129 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)