Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009294/0.0009295, allocations: 173.3 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9978/0.9978, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007744/0.0007745, allocations: 88.59 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1749/0.1757, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.5812, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.712, allocations: 137.3 MB / 1.098 GB, free: 2.836 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.7122, allocations: 83.23 kB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004898/0.7171, allocations: 1.809 MB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.7172, allocations: 8.5 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.7172, allocations: 5.281 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.289e-05/0.7173, allocations: 171.6 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.7173, allocations: 1.281 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.7174, allocations: 4.703 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.104e-05/0.7174, allocations: 4 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.877e-05/0.7175, allocations: 38.44 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.7175, allocations: 0 / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.7175, allocations: 1.109 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7175, allocations: 4 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.7176, allocations: 135.2 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.586e-05/0.7177, allocations: 39.45 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.7177, allocations: 9.938 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008116/0.7186, allocations: 1.17 MB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.7186, allocations: 34.56 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.7186, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001568/0.7188, allocations: 46.25 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.7188, allocations: 51.41 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.7189, allocations: 98.59 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.7189, allocations: 25.7 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.7189, allocations: 80.14 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.7189, allocations: 15.75 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.719, allocations: 4 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.719, allocations: 318.8 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.7191, allocations: 8 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.7191, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.7191, allocations: 5.266 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7191, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.63e-05/0.7192, allocations: 41.69 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7192, allocations: 8 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7192, allocations: 6.031 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.7193, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.7193, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.7193, allocations: 0 / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.7194, allocations: 3.938 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.7194, allocations: 9.875 kB / 1.102 GB, free: 14.24 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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 5.418e-05/0.7194, allocations: 110.1 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.7194, allocations: 3.906 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.7196, allocations: 64.42 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7196, allocations: 4 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7196, allocations: 0 / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7196, allocations: 0 / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.808e-05/0.7197, allocations: 142.1 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7197, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.7198, allocations: 8 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7198, allocations: 4.516 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.7198, allocations: 3.984 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7198, allocations: 1.125 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7198, allocations: 0 / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.728e-05/0.7199, allocations: 77.58 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001713/0.7201, allocations: 449.4 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.7201, allocations: 81.11 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.7202, allocations: 8.641 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.157e-05/0.7202, allocations: 8 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.7202, allocations: 0 / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.7202, allocations: 2.344 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.278e-05/0.7203, allocations: 83.28 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007321/0.721, allocations: 35.86 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001818/0.7212, allocations: 135 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.613e-05/0.7213, allocations: 11.94 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7213, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/0.7213, allocations: 8 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.7214, allocations: 7.938 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000175/0.7216, allocations: 64.59 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.7218, allocations: 0.6932 MB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/0.7218, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)