Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.003747/0.003747, allocations: 181.8 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.7102/0.7102, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.575/1.575, allocations: 221.3 MB / 395 MB, free: 10.2 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.001312/0.001312, allocations: 95.28 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4795/0.4809, allocations: 88.43 MB / 0.5529 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.6678, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.419/5.087, allocations: 1.885 GB / 2.518 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/5.087, allocations: 87.94 kB / 2.518 GB, free: 77.24 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 2.698/7.785, allocations: 0.7586 GB / 3.277 GB, free: 96.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/7.785, allocations: 12.27 kB / 3.277 GB, free: 96.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/7.789, allocations: 0.5121 MB / 3.277 GB, free: 95.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/7.791, allocations: 1.133 MB / 3.278 GB, free: 94.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/7.791, allocations: 36 kB / 3.278 GB, free: 94.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/7.791, allocations: 64 kB / 3.278 GB, free: 94.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001595/7.793, allocations: 0.9685 MB / 3.279 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/7.795, allocations: 1.065 MB / 3.28 GB, free: 92.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/7.795, allocations: 0 / 3.28 GB, free: 92.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/7.795, allocations: 11.66 kB / 3.28 GB, free: 92.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/7.795, allocations: 38.14 kB / 3.28 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006278/7.801, allocations: 3.975 MB / 3.284 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/7.802, allocations: 0.8006 MB / 3.285 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/7.803, allocations: 449.7 kB / 3.285 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/7.803, allocations: 299.1 kB / 3.286 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/7.803, allocations: 43.34 kB / 3.286 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 3.476e-06/7.803, allocations: 0 / 3.286 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=89): time 0.004619/7.808, allocations: 2.169 MB / 3.288 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/7.808, allocations: 60.19 kB / 3.288 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/7.809, allocations: 0.5907 MB / 3.288 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/7.809, allocations: 25.7 kB / 3.288 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/7.809, allocations: 422.8 kB / 3.289 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/7.809, allocations: 299.5 kB / 3.289 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/7.809, allocations: 0 / 3.289 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/7.809, allocations: 344.1 kB / 3.289 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/7.81, allocations: 317.9 kB / 3.29 GB, free: 82.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/7.81, allocations: 486.4 kB / 3.29 GB, free: 81.66 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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004413/7.815, allocations: 2.201 MB / 3.292 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/7.815, allocations: 0 / 3.292 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001404/7.816, allocations: 0.9068 MB / 3.293 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/7.816, allocations: 11.98 kB / 3.293 GB, free: 78.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/7.816, allocations: 0 / 3.293 GB, free: 78.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/7.816, allocations: 8 kB / 3.293 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/7.817, allocations: 179.7 kB / 3.293 GB, free: 78.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/7.817, allocations: 8 kB / 3.293 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/7.818, allocations: 58.22 kB / 3.294 GB, free: 78.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/7.818, allocations: 28 kB / 3.294 GB, free: 78.26 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002242/7.819, allocations: 129.9 kB / 3.294 GB, free: 78.13 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/7.819, allocations: 106.7 kB / 3.294 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/7.819, allocations: 126.4 kB / 3.294 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/7.819, allocations: 10.91 kB / 3.294 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/7.819, allocations: 3.938 kB / 3.294 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001325/7.821, allocations: 1.032 MB / 3.295 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/7.825, allocations: 2.853 MB / 3.298 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/7.825, allocations: 8 kB / 3.298 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/7.826, allocations: 167.7 kB / 3.298 GB, free: 73.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/7.826, allocations: 104.2 kB / 3.298 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/7.826, allocations: 20 kB / 3.298 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/7.828, allocations: 2.785 MB / 3.301 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/7.828, allocations: 15.94 kB / 3.301 GB, free: 70.49 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002172/7.83, allocations: 2.163 MB / 3.303 GB, free: 68 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003011/7.833, allocations: 3.101 MB / 3.306 GB, free: 64.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/7.834, allocations: 287.3 kB / 3.306 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/7.834, allocations: 19.91 kB / 3.306 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/7.835, allocations: 56.8 kB / 3.306 GB, free: 64.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/7.835, allocations: 73.61 kB / 3.306 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/7.835, allocations: 50.17 kB / 3.306 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007253/7.836, allocations: 467.1 kB / 3.307 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002902/7.839, allocations: 0.6561 MB / 3.307 GB, free: 62.95 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002928/7.842, allocations: 1.874 MB / 3.309 GB, free: 61.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001265/7.843, allocations: 0.7728 MB / 3.31 GB, free: 60.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/7.843, allocations: 8 kB / 3.31 GB, free: 60.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008118/7.844, allocations: 0.6145 MB / 3.311 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/7.847, allocations: 0.6563 MB / 3.311 GB, free: 59.28 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/7.851, allocations: 2.214 MB / 3.313 GB, free: 56.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/7.852, allocations: 1.381 MB / 3.315 GB, free: 55.53 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/7.852, allocations: 0 / 3.315 GB, free: 55.53 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)