Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",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/BuildingSystems 2.0.0-master/package.mo): time 0.7627/0.7627, allocations: 141.8 MB / 149.1 MB, free: 1.578 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 181.3 kB / 182 MB, free: 1 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.4 MB / 436 MB, free: 5.734 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 99.89 kB / 0.507 GB, free: 2.434 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 290.1 kB / 0.5885 GB, free: 47.45 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.444/0.4459, allocations: 89.62 MB / 0.676 GB, free: 59.73 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.6409, allocations: 82.79 MB / 0.7568 GB, free: 0.8242 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.7901, allocations: 107 MB / 0.8613 GB, free: 5.695 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.7904, allocations: 69.98 kB / 0.8614 GB, free: 5.629 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0008242/0.7912, allocations: 405.3 kB / 0.8617 GB, free: 5.184 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.7913, allocations: 12 kB / 0.8617 GB, free: 5.172 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.7913, allocations: 0 / 0.8617 GB, free: 5.172 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.7914, allocations: 163.1 kB / 0.8619 GB, free: 4.973 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.7915, allocations: 3.906 kB / 0.8619 GB, free: 4.969 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.7915, allocations: 0 / 0.8619 GB, free: 4.969 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.499e-05/0.7915, allocations: 4 kB / 0.8619 GB, free: 4.965 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.7916, allocations: 47.36 kB / 0.862 GB, free: 4.906 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7916, allocations: 7.984 kB / 0.862 GB, free: 4.898 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.7917, allocations: 3.938 kB / 0.862 GB, free: 4.895 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7917, allocations: 0 / 0.862 GB, free: 4.895 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.7918, allocations: 131.1 kB / 0.8621 GB, free: 4.723 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.174e-05/0.7919, allocations: 41.22 kB / 0.8621 GB, free: 4.664 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.7919, allocations: 13.66 kB / 0.8621 GB, free: 4.645 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.7919, allocations: 4.125 kB / 0.8621 GB, free: 4.641 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.792, allocations: 34.47 kB / 0.8622 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.792, allocations: 0 / 0.8622 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.7921, allocations: 41.69 kB / 0.8622 GB, free: 4.551 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.7922, allocations: 85.11 kB / 0.8623 GB, free: 4.449 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.228e-05/0.7922, allocations: 85 kB / 0.8624 GB, free: 4.359 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.7923, allocations: 25.7 kB / 0.8624 GB, free: 4.328 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.7923, allocations: 80.14 kB / 0.8625 GB, free: 4.246 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.7923, allocations: 3.906 kB / 0.8625 GB, free: 4.242 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.7923, allocations: 0 / 0.8625 GB, free: 4.242 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.7924, allocations: 314.8 kB / 0.8628 GB, free: 3.926 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.7925, allocations: 0 / 0.8628 GB, free: 3.926 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.7925, allocations: 17.72 kB / 0.8628 GB, free: 3.902 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.925e-05/0.7925, allocations: 4 kB / 0.8628 GB, free: 3.898 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7925, allocations: 0 / 0.8628 GB, free: 3.898 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.348e-05/0.7926, allocations: 41.62 kB / 0.8628 GB, free: 3.852 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.7926, allocations: 4 kB / 0.8629 GB, free: 3.848 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7926, allocations: 0 / 0.8629 GB, free: 3.848 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7926, allocations: 4 kB / 0.8629 GB, free: 3.844 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.7927, allocations: 4.125 kB / 0.8629 GB, free: 3.84 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.7927, allocations: 7.906 kB / 0.8629 GB, free: 3.832 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.7927, allocations: 0 / 0.8629 GB, free: 3.832 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.7927, allocations: 3.984 kB / 0.8629 GB, free: 3.828 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.175e-05/0.7928, allocations: 104.9 kB / 0.863 GB, free: 3.719 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.7928, allocations: 4 kB / 0.863 GB, free: 3.715 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.7929, allocations: 52.62 kB / 0.863 GB, free: 3.656 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.793, allocations: 3.906 kB / 0.863 GB, free: 3.652 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.793, allocations: 3.938 kB / 0.863 GB, free: 3.648 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.793, allocations: 0 / 0.863 GB, free: 3.648 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.371e-05/0.7931, allocations: 126.2 kB / 0.8632 GB, free: 3.488 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.7931, allocations: 0 / 0.8632 GB, free: 3.488 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.7931, allocations: 7.938 kB / 0.8632 GB, free: 3.48 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7931, allocations: 0 / 0.8632 GB, free: 3.48 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.7931, allocations: 3.984 kB / 0.8632 GB, free: 3.477 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7931, allocations: 0 / 0.8632 GB, free: 3.477 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7931, allocations: 0 / 0.8632 GB, free: 3.477 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.146e-05/0.7932, allocations: 83.62 kB / 0.8632 GB, free: 3.367 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002229/0.7935, allocations: 472 kB / 0.8637 GB, free: 2.875 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.7935, allocations: 77.11 kB / 0.8638 GB, free: 2.781 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.7935, allocations: 3.984 kB / 0.8638 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.579e-05/0.7935, allocations: 0 / 0.8638 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.7936, allocations: 4 kB / 0.8638 GB, free: 2.773 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.7936, allocations: 3.906 kB / 0.8638 GB, free: 2.77 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.01e-05/0.7936, allocations: 75.28 kB / 0.8639 GB, free: 2.695 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007725/0.7944, allocations: 4 kB / 0.8639 GB, free: 2.691 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000131/0.7945, allocations: 99.28 kB / 0.864 GB, free: 2.586 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 6.606e-05/0.7946, allocations: 7.938 kB / 0.864 GB, free: 2.578 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7946, allocations: 0 / 0.864 GB, free: 2.578 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.7946, allocations: 4 kB / 0.864 GB, free: 2.574 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.883e-05/0.7947, allocations: 0 / 0.864 GB, free: 2.574 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.7949, allocations: 61.11 kB / 0.864 GB, free: 2.488 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.7952, allocations: 0.688 MB / 0.8647 GB, free: 1.773 MB / 0.5419 GB Notification: Performance of SimCode: time 2.81e-07/0.7952, allocations: 0 / 0.8647 GB, free: 1.773 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)