Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_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.001911/0.001911, allocations: 181.6 kB / 7.458 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7784/0.7784, allocations: 133.5 MB / 141.4 MB, free: 4.719 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.3 MB / 395 MB, free: 13.76 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 99.19 kB / 477.8 MB, free: 11.06 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3349/0.336, allocations: 88.45 MB / 0.5529 GB, free: 49.88 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.8453, allocations: 82.3 MB / 0.6333 GB, free: 5.629 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.294/5.14, allocations: 1.878 GB / 2.511 GB, free: 162.8 MB / 0.6746 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/5.14, allocations: 94.75 kB / 2.511 GB, free: 162.8 MB / 0.6746 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 2.25/7.39, allocations: 0.6123 GB / 3.124 GB, free: 70.41 MB / 0.6902 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/7.39, allocations: 8 kB / 3.124 GB, free: 70.4 MB / 0.6902 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003961/7.394, allocations: 386.2 kB / 3.124 GB, free: 70.02 MB / 0.6902 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003932/7.398, allocations: 1.058 MB / 3.125 GB, free: 68.93 MB / 0.6902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/7.398, allocations: 16 kB / 3.125 GB, free: 68.92 MB / 0.6902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004053/7.399, allocations: 39.91 kB / 3.125 GB, free: 68.88 MB / 0.6902 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001261/7.4, allocations: 0.5252 MB / 3.125 GB, free: 68.35 MB / 0.6902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/7.401, allocations: 0.5081 MB / 3.126 GB, free: 67.84 MB / 0.6902 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/7.401, allocations: 0 / 3.126 GB, free: 67.84 MB / 0.6902 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/7.401, allocations: 0 / 3.126 GB, free: 67.84 MB / 0.6902 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/7.401, allocations: 24.98 kB / 3.126 GB, free: 67.81 MB / 0.6902 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006111/7.407, allocations: 2.641 MB / 3.129 GB, free: 65.07 MB / 0.6902 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/7.408, allocations: 0.5026 MB / 3.129 GB, free: 64.57 MB / 0.6902 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004271/7.409, allocations: 308.7 kB / 3.129 GB, free: 64.26 MB / 0.6902 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/7.409, allocations: 295.5 kB / 3.13 GB, free: 63.92 MB / 0.6902 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/7.409, allocations: 38.56 kB / 3.13 GB, free: 63.88 MB / 0.6902 GB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/7.409, allocations: 0 / 3.13 GB, free: 63.88 MB / 0.6902 GB Notification: Performance of matching and sorting (n=44): time 0.001985/7.411, allocations: 0.6991 MB / 3.13 GB, free: 63.17 MB / 0.6902 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/7.411, allocations: 55.41 kB / 3.13 GB, free: 63.1 MB / 0.6902 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/7.413, allocations: 0.9648 MB / 3.131 GB, free: 62.12 MB / 0.6902 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/7.413, allocations: 29.7 kB / 3.131 GB, free: 62.08 MB / 0.6902 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/7.414, allocations: 269.6 kB / 3.132 GB, free: 61.81 MB / 0.6902 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/7.414, allocations: 141.8 kB / 3.132 GB, free: 61.67 MB / 0.6902 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/7.414, allocations: 0 / 3.132 GB, free: 61.67 MB / 0.6902 GB Notification: Performance of setup shared object (initialization): time 0.0001264/7.414, allocations: 318 kB / 3.132 GB, free: 61.36 MB / 0.6902 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/7.415, allocations: 232.7 kB / 3.132 GB, free: 61.12 MB / 0.6902 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/7.415, allocations: 457.8 kB / 3.133 GB, free: 60.59 MB / 0.6902 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/7.416, allocations: 292.5 kB / 3.133 GB, free: 60.31 MB / 0.6902 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/7.416, allocations: 0 / 3.133 GB, free: 60.31 MB / 0.6902 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001473/7.417, allocations: 0.6679 MB / 3.134 GB, free: 59.64 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/7.417, allocations: 94.88 kB / 3.134 GB, free: 59.54 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/7.417, allocations: 0 / 3.134 GB, free: 59.54 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/7.417, allocations: 3.906 kB / 3.134 GB, free: 59.54 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008661/7.418, allocations: 139.8 kB / 3.134 GB, free: 59.4 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/7.418, allocations: 4 kB / 3.134 GB, free: 59.39 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/7.42, allocations: 123.7 kB / 3.134 GB, free: 59.27 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/7.42, allocations: 35.97 kB / 3.134 GB, free: 59.24 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/7.42, allocations: 11.94 kB / 3.134 GB, free: 59.23 MB / 0.6902 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009589/7.421, allocations: 0.5305 MB / 3.135 GB, free: 58.7 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/7.421, allocations: 0 / 3.135 GB, free: 58.7 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/7.421, allocations: 3.984 kB / 3.135 GB, free: 58.69 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007773/7.422, allocations: 135.8 kB / 3.135 GB, free: 58.56 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/7.422, allocations: 4 kB / 3.135 GB, free: 58.55 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/7.424, allocations: 123.6 kB / 3.135 GB, free: 58.43 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/7.424, allocations: 27.97 kB / 3.135 GB, free: 58.41 MB / 0.6902 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.0002441/7.424, allocations: 116.9 kB / 3.135 GB, free: 58.29 MB / 0.6902 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/7.425, allocations: 94.78 kB / 3.135 GB, free: 58.19 MB / 0.6902 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/7.426, allocations: 0.7466 MB / 3.136 GB, free: 57.44 MB / 0.6902 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/7.426, allocations: 4 kB / 3.136 GB, free: 57.43 MB / 0.6902 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/7.426, allocations: 11.91 kB / 3.136 GB, free: 57.42 MB / 0.6902 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/7.426, allocations: 0 / 3.136 GB, free: 57.42 MB / 0.6902 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/7.43, allocations: 1.837 MB / 3.138 GB, free: 55.52 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/7.43, allocations: 4 kB / 3.138 GB, free: 55.52 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/7.43, allocations: 120.1 kB / 3.138 GB, free: 55.4 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/7.43, allocations: 4 kB / 3.138 GB, free: 55.4 MB / 0.6902 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/7.43, allocations: 8 kB / 3.138 GB, free: 55.39 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/7.43, allocations: 7.938 kB / 3.138 GB, free: 55.38 MB / 0.6902 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/7.43, allocations: 7.984 kB / 3.138 GB, free: 55.38 MB / 0.6902 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001653/7.432, allocations: 1.222 MB / 3.139 GB, free: 54.06 MB / 0.6902 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002447/7.434, allocations: 2.058 MB / 3.141 GB, free: 51.9 MB / 0.6902 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/7.435, allocations: 299.7 kB / 3.141 GB, free: 51.59 MB / 0.6902 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/7.435, allocations: 7.938 kB / 3.141 GB, free: 51.58 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/7.437, allocations: 79.81 kB / 3.141 GB, free: 51.5 MB / 0.6902 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/7.437, allocations: 43.94 kB / 3.141 GB, free: 51.46 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/7.437, allocations: 20 kB / 3.141 GB, free: 51.44 MB / 0.6902 GB Notification: Performance of sort global known variables: time 0.001458/7.439, allocations: 0.7468 MB / 3.142 GB, free: 50.68 MB / 0.6902 GB Notification: Performance of remove unused functions: time 0.004735/7.443, allocations: 0.8975 MB / 3.143 GB, free: 49.78 MB / 0.6902 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.003649/7.447, allocations: 1.847 MB / 3.145 GB, free: 48.06 MB / 0.6902 GB Notification: Performance of simCode: created initialization part: time 0.001625/7.449, allocations: 0.8519 MB / 3.146 GB, free: 47.21 MB / 0.6902 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/7.449, allocations: 0 / 3.146 GB, free: 47.21 MB / 0.6902 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/7.449, allocations: 287.7 kB / 3.146 GB, free: 46.93 MB / 0.6902 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/7.451, allocations: 371 kB / 3.146 GB, free: 46.57 MB / 0.6902 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/7.455, allocations: 1.317 MB / 3.148 GB, free: 45.21 MB / 0.6902 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/7.456, allocations: 1.179 MB / 3.149 GB, free: 44 MB / 0.6902 GB Notification: Performance of SimCode: time 3.7e-07/7.456, allocations: 3.938 kB / 3.149 GB, free: 43.99 MB / 0.6902 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)