Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",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.003532/0.003532, allocations: 180.2 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.7174/0.7174, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.457/1.457, 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.0009569/0.0009569, allocations: 109.7 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3173/0.3183, allocations: 88.42 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.4567, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.977/3.434, allocations: 1.878 GB / 2.511 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/3.434, allocations: 91.94 kB / 2.511 GB, free: 84.73 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 1.631/5.065, allocations: 0.6123 GB / 3.123 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/5.065, allocations: 9.688 kB / 3.124 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/5.068, allocations: 392.6 kB / 3.124 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/5.069, allocations: 1.058 MB / 3.125 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/5.069, allocations: 14.53 kB / 3.125 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/5.07, allocations: 40.53 kB / 3.125 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007092/5.07, allocations: 0.5288 MB / 3.125 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/5.071, allocations: 0.5053 MB / 3.126 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/5.071, allocations: 0 / 3.126 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/5.071, allocations: 0 / 3.126 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/5.071, allocations: 19.34 kB / 3.126 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/5.074, allocations: 2.656 MB / 3.129 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/5.075, allocations: 0.5021 MB / 3.129 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/5.075, allocations: 302.6 kB / 3.129 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/5.075, allocations: 288.7 kB / 3.13 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/5.075, allocations: 39.03 kB / 3.13 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/5.075, allocations: 3.094 kB / 3.13 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.00118/5.077, allocations: 0.7029 MB / 3.13 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.361e-05/5.077, allocations: 55.28 kB / 3.13 GB, free: 118 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/5.078, allocations: 0.963 MB / 3.131 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/5.078, allocations: 29.48 kB / 3.131 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/5.078, allocations: 270.2 kB / 3.132 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/5.078, allocations: 143.3 kB / 3.132 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/5.078, allocations: 1.594 kB / 3.132 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.757e-05/5.078, allocations: 326.5 kB / 3.132 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/5.078, allocations: 230.7 kB / 3.132 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/5.079, allocations: 453.1 kB / 3.133 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/5.079, allocations: 282.8 kB / 3.133 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/5.079, allocations: 0 / 3.133 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008686/5.08, allocations: 0.6711 MB / 3.134 GB, free: 117 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/5.08, allocations: 94.48 kB / 3.134 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/5.08, allocations: 2 kB / 3.134 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/5.08, allocations: 3.906 kB / 3.134 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/5.081, allocations: 136.1 kB / 3.134 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/5.081, allocations: 7.812 kB / 3.134 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/5.082, allocations: 124.2 kB / 3.134 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/5.082, allocations: 26.39 kB / 3.134 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.318e-06/5.082, allocations: 9.281 kB / 3.134 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000725/5.083, allocations: 0.5341 MB / 3.135 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-06/5.083, allocations: 0 / 3.135 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/5.083, allocations: 11.62 kB / 3.135 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/5.083, allocations: 132.8 kB / 3.135 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/5.083, allocations: 6.891 kB / 3.135 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/5.084, allocations: 122.2 kB / 3.135 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/5.084, allocations: 28.86 kB / 3.135 GB, free: 116.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001078/5.085, allocations: 116.1 kB / 3.135 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/5.085, allocations: 100.5 kB / 3.135 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/5.086, allocations: 0.7343 MB / 3.136 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/5.086, allocations: 3.125 kB / 3.136 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/5.086, allocations: 6.594 kB / 3.136 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/5.086, allocations: 9.938 kB / 3.136 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/5.088, allocations: 1.828 MB / 3.138 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/5.088, allocations: 3.219 kB / 3.138 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/5.088, allocations: 123.4 kB / 3.138 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/5.088, allocations: 9.406 kB / 3.138 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/5.089, allocations: 14.72 kB / 3.138 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/5.089, allocations: 4.344 kB / 3.138 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/5.089, allocations: 6.312 kB / 3.138 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001138/5.09, allocations: 1.236 MB / 3.139 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001676/5.091, allocations: 2.05 MB / 3.141 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/5.092, allocations: 296.3 kB / 3.141 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/5.092, allocations: 10.91 kB / 3.141 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009916/5.093, allocations: 82.47 kB / 3.141 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/5.093, allocations: 33.25 kB / 3.141 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/5.093, allocations: 23.06 kB / 3.141 GB, free: 115 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007333/5.094, allocations: 0.7497 MB / 3.142 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002803/5.097, allocations: 0.9012 MB / 3.143 GB, free: 114.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.001531/5.098, allocations: 1.833 MB / 3.145 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009552/5.099, allocations: 0.8658 MB / 3.146 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/5.099, allocations: 0 / 3.146 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/5.099, allocations: 294.2 kB / 3.146 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/5.101, allocations: 376.3 kB / 3.146 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/5.103, allocations: 1.315 MB / 3.148 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/5.104, allocations: 1.175 MB / 3.149 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/5.104, allocations: 0 / 3.149 GB, free: 113.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)