Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",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.001861/0.001861, allocations: 185.1 kB / 7.802 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5083/0.5083, allocations: 90.84 MB / 99.06 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.4 MB / 342.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 98.47 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/0.1836, allocations: 78.44 MB / 493.9 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.6569, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.66/4.317, allocations: 1.904 GB / 2.457 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/4.317, allocations: 88.77 kB / 2.457 GB, free: 172.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 4.67/8.987, allocations: 1.471 GB / 3.928 GB, free: 55.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/8.987, allocations: 9.344 kB / 3.928 GB, free: 55.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/8.991, allocations: 0.5462 MB / 3.929 GB, free: 55.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/8.994, allocations: 1.256 MB / 3.93 GB, free: 54.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009025/8.995, allocations: 263.9 kB / 3.931 GB, free: 54.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/8.995, allocations: 57.56 kB / 3.931 GB, free: 54.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0014/8.996, allocations: 0.7282 MB / 3.931 GB, free: 54.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/8.998, allocations: 1.07 MB / 3.932 GB, free: 54.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/8.998, allocations: 4.781 kB / 3.932 GB, free: 54.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/8.998, allocations: 3.938 kB / 3.932 GB, free: 54.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/8.998, allocations: 47.78 kB / 3.932 GB, free: 54.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006516/9.004, allocations: 6.579 MB / 3.939 GB, free: 50.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/9.005, allocations: 466.4 kB / 3.939 GB, free: 50.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/9.005, allocations: 189.1 kB / 3.939 GB, free: 50.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/9.006, allocations: 371.7 kB / 3.94 GB, free: 49.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/9.006, allocations: 42.72 kB / 3.94 GB, free: 49.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/9.006, allocations: 3.938 kB / 3.94 GB, free: 49.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.001306/9.007, allocations: 0.516 MB / 3.94 GB, free: 49.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/9.007, allocations: 54.41 kB / 3.94 GB, free: 49.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009799/9.008, allocations: 0.8277 MB / 3.941 GB, free: 49.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/9.008, allocations: 27.48 kB / 3.941 GB, free: 49.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/9.008, allocations: 0.5223 MB / 3.942 GB, free: 49.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.618e-05/9.009, allocations: 115.1 kB / 3.942 GB, free: 49.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/9.009, allocations: 0 / 3.942 GB, free: 49.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.456e-05/9.009, allocations: 333.9 kB / 3.942 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/9.009, allocations: 192.5 kB / 3.942 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/9.009, allocations: 0.5584 MB / 3.943 GB, free: 48.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/9.01, allocations: 297.4 kB / 3.943 GB, free: 48.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/9.01, allocations: 7.844 kB / 3.943 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001127/9.011, allocations: 0.7651 MB / 3.944 GB, free: 48.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006725/9.012, allocations: 4.087 MB / 3.948 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/9.012, allocations: 10.16 kB / 3.948 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/9.012, allocations: 15.69 kB / 3.948 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008522/9.013, allocations: 213.7 kB / 3.948 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/9.013, allocations: 26.78 kB / 3.948 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/9.014, allocations: 188.8 kB / 3.948 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/9.014, allocations: 42.44 kB / 3.948 GB, free: 44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/9.014, allocations: 7.844 kB / 3.948 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001006/9.015, allocations: 0.6183 MB / 3.949 GB, free: 43.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/9.015, allocations: 14.19 kB / 3.949 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/9.015, allocations: 14.03 kB / 3.949 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/9.016, allocations: 219.6 kB / 3.949 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/9.016, allocations: 18.88 kB / 3.949 GB, free: 43.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/9.017, allocations: 152 kB / 3.949 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.716e-05/9.017, allocations: 46.05 kB / 3.949 GB, free: 43.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001913/9.017, allocations: 143.9 kB / 3.95 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/9.017, allocations: 109.1 kB / 3.95 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/9.018, allocations: 0.5035 MB / 3.95 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/9.018, allocations: 5.969 kB / 3.95 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/9.018, allocations: 0 / 3.95 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/9.018, allocations: 7.734 kB / 3.95 GB, free: 43.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/9.021, allocations: 1.684 MB / 3.952 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/9.021, allocations: 9.219 kB / 3.952 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/9.022, allocations: 104 kB / 3.952 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/9.022, allocations: 12.88 kB / 3.952 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/9.022, allocations: 10.78 kB / 3.952 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/9.022, allocations: 10.53 kB / 3.952 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/9.022, allocations: 3.625 kB / 3.952 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009031/9.023, allocations: 0.8467 MB / 3.953 GB, free: 42.55 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001536/9.024, allocations: 1.43 MB / 3.954 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/9.025, allocations: 255.9 kB / 3.954 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/9.025, allocations: 10.06 kB / 3.954 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/9.026, allocations: 108.5 kB / 3.955 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/9.026, allocations: 33.62 kB / 3.955 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/9.026, allocations: 21.62 kB / 3.955 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0008147/9.027, allocations: 0.6221 MB / 3.955 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005282/9.032, allocations: 1.641 MB / 3.957 GB, free: 41.25 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.004108/9.036, allocations: 3.503 MB / 3.96 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001525/9.038, allocations: 0.8355 MB / 3.961 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/9.038, allocations: 3.656 kB / 3.961 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/9.038, allocations: 178.7 kB / 3.961 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/9.04, allocations: 370.1 kB / 3.962 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/9.045, allocations: 1.684 MB / 3.963 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008418/9.046, allocations: 1.304 MB / 3.964 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/9.046, allocations: 3.625 kB / 3.964 GB, free: 38.51 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)