Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.599/2.599, allocations: 284.8 MB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 185.2 kB / 360.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.1 MB / 0.6187 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001813/0.001813, allocations: 88 kB / 0.7317 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.3116/0.3135, allocations: 121.4 MB / 0.8502 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.643, allocations: 115.2 MB / 0.9628 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.369/6.012, allocations: 2.083 GB / 3.045 GB, free: 16.33 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/6.013, allocations: 93.7 kB / 3.045 GB, free: 16.28 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 3.21/9.222, allocations: 0.6062 GB / 3.652 GB, free: 130.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/9.222, allocations: 12.5 kB / 3.652 GB, free: 130.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006213/9.229, allocations: 390.2 kB / 3.652 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004484/9.233, allocations: 1.106 MB / 3.653 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/9.233, allocations: 16 kB / 3.653 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/9.234, allocations: 40 kB / 3.653 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001639/9.235, allocations: 0.5252 MB / 3.654 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/9.237, allocations: 0.5961 MB / 3.654 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/9.237, allocations: 0 / 3.654 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/9.237, allocations: 0 / 3.654 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/9.237, allocations: 19.98 kB / 3.654 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007604/9.244, allocations: 2.629 MB / 3.657 GB, free: 125 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/9.246, allocations: 0.5057 MB / 3.657 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/9.246, allocations: 304.7 kB / 3.658 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/9.247, allocations: 291.5 kB / 3.658 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/9.247, allocations: 38.56 kB / 3.658 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 3.767e-06/9.247, allocations: 0 / 3.658 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=43): time 0.003862/9.251, allocations: 0.6999 MB / 3.659 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/9.251, allocations: 136.5 kB / 3.659 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/9.256, allocations: 0.9697 MB / 3.66 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004256/9.257, allocations: 29.7 kB / 3.66 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/9.257, allocations: 274.5 kB / 3.66 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/9.258, allocations: 149.8 kB / 3.66 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/9.258, allocations: 0 / 3.66 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001212/9.258, allocations: 319.3 kB / 3.66 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/9.259, allocations: 248.8 kB / 3.661 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/9.261, allocations: 482.7 kB / 3.661 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/9.263, allocations: 302.6 kB / 3.661 GB, free: 120 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/9.263, allocations: 3.906 kB / 3.661 GB, free: 120 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004062/9.267, allocations: 0.6932 MB / 3.662 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.157e-05/9.267, allocations: 102.6 kB / 3.662 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/9.267, allocations: 7.906 kB / 3.662 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/9.267, allocations: 4 kB / 3.662 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/9.269, allocations: 131.8 kB / 3.662 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/9.269, allocations: 4 kB / 3.662 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/9.274, allocations: 123.6 kB / 3.662 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/9.274, allocations: 31.97 kB / 3.663 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/9.275, allocations: 4 kB / 3.663 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001767/9.276, allocations: 0.5599 MB / 3.663 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/9.276, allocations: 4 kB / 3.663 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/9.276, allocations: 112 / 3.663 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/9.278, allocations: 135.8 kB / 3.663 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/9.278, allocations: 4 kB / 3.663 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/9.281, allocations: 131.6 kB / 3.663 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/9.281, allocations: 31.97 kB / 3.663 GB, free: 118.1 MB / 0.9323 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002722/9.281, allocations: 116.2 kB / 3.663 GB, free: 118 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/9.282, allocations: 98.78 kB / 3.664 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/9.285, allocations: 0.7428 MB / 3.664 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/9.285, allocations: 4 kB / 3.664 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/9.285, allocations: 0 / 3.664 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/9.285, allocations: 3.984 kB / 3.664 GB, free: 117.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/9.29, allocations: 1.814 MB / 3.666 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/9.29, allocations: 0 / 3.666 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/9.292, allocations: 119.8 kB / 3.666 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/9.292, allocations: 8 kB / 3.666 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/9.292, allocations: 12.03 kB / 3.666 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/9.292, allocations: 7.906 kB / 3.666 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/9.292, allocations: 7.938 kB / 3.666 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002831/9.295, allocations: 1.228 MB / 3.667 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004019/9.299, allocations: 2.059 MB / 3.669 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/9.3, allocations: 295.6 kB / 3.67 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/9.3, allocations: 7.906 kB / 3.67 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/9.303, allocations: 83.95 kB / 3.67 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/9.303, allocations: 39.8 kB / 3.67 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.878e-05/9.303, allocations: 23.98 kB / 3.67 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001955/9.305, allocations: 0.7551 MB / 3.671 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006593/9.312, allocations: 0.9561 MB / 3.672 GB, free: 109.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.003334/9.315, allocations: 1.878 MB / 3.673 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002613/9.318, allocations: 0.9413 MB / 3.674 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/9.318, allocations: 0 / 3.674 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007575/9.318, allocations: 284.2 kB / 3.675 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004371/9.323, allocations: 403.1 kB / 3.675 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/9.328, allocations: 1.335 MB / 3.676 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/9.329, allocations: 1.197 MB / 3.677 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.164e-06/9.329, allocations: 0 / 3.677 GB, free: 103.2 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)