Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.392/1.392, allocations: 289.8 MB / 297.1 MB, free: 12.64 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 182.2 kB / 366.3 MB, free: 11.98 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 205.1 MB / 0.6256 GB, free: 2.051 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008552/0.0008555, allocations: 95.86 kB / 0.7395 GB, free: 46.83 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2184/0.2192, allocations: 122.4 MB / 0.8591 GB, free: 7.102 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.746, allocations: 116.3 MB / 0.9726 GB, free: 81.45 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.8927, allocations: 138.2 MB / 1.108 GB, free: 5.734 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.8929, allocations: 79.94 kB / 1.108 GB, free: 5.656 MB / 0.7059 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.004955/0.8979, allocations: 1.801 MB / 1.109 GB, free: 3.848 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.8979, allocations: 8 kB / 1.109 GB, free: 3.84 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.898, allocations: 8.547 kB / 1.109 GB, free: 3.832 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.8981, allocations: 174.9 kB / 1.11 GB, free: 3.621 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.8981, allocations: 1.125 kB / 1.11 GB, free: 3.621 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.8981, allocations: 0 / 1.11 GB, free: 3.621 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.869e-05/0.8982, allocations: 8 kB / 1.11 GB, free: 3.613 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.847e-05/0.8982, allocations: 35.62 kB / 1.11 GB, free: 3.574 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-06/0.8982, allocations: 0 / 1.11 GB, free: 3.574 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.8983, allocations: 0.9062 kB / 1.11 GB, free: 3.574 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.8983, allocations: 4 kB / 1.11 GB, free: 3.57 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.8984, allocations: 137.3 kB / 1.11 GB, free: 3.402 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.8985, allocations: 39.11 kB / 1.11 GB, free: 3.355 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.8985, allocations: 5.609 kB / 1.11 GB, free: 3.348 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009017/0.8994, allocations: 1.175 MB / 1.111 GB, free: 1.914 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.8994, allocations: 30.56 kB / 1.111 GB, free: 1.875 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8994, allocations: 0 / 1.111 GB, free: 1.875 MB / 0.7059 GB Notification: Performance of matching and sorting (n=3): time 0.0001868/0.8996, allocations: 46.72 kB / 1.111 GB, free: 1.824 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.8997, allocations: 55.41 kB / 1.111 GB, free: 1.758 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.8997, allocations: 98.72 kB / 1.111 GB, free: 1.656 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.8998, allocations: 25.7 kB / 1.111 GB, free: 1.625 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.8998, allocations: 80.14 kB / 1.111 GB, free: 1.543 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.8998, allocations: 15.8 kB / 1.111 GB, free: 1.527 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.8998, allocations: 3.938 kB / 1.111 GB, free: 1.523 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.8999, allocations: 314.8 kB / 1.112 GB, free: 1.207 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.8999, allocations: 0 / 1.112 GB, free: 1.207 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.8999, allocations: 11.94 kB / 1.112 GB, free: 1.195 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.9, allocations: 4 kB / 1.112 GB, free: 1.191 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.9, allocations: 1.5 kB / 1.112 GB, free: 1.191 MB / 0.7059 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.706e-05/0.9001, allocations: 45.88 kB / 1.112 GB, free: 1.141 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.9001, allocations: 8 kB / 1.112 GB, free: 1.133 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9001, allocations: 3.906 kB / 1.112 GB, free: 1.129 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.9001, allocations: 0 / 1.112 GB, free: 1.129 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.955e-05/0.9002, allocations: 7.984 kB / 1.112 GB, free: 1.121 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.9002, allocations: 0 / 1.112 GB, free: 1.121 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.9002, allocations: 7.922 kB / 1.112 GB, free: 1.113 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.9002, allocations: 4 kB / 1.112 GB, free: 1.109 MB / 0.7059 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.461e-05/0.9003, allocations: 109.2 kB / 1.112 GB, free: 1 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.9003, allocations: 3.906 kB / 1.112 GB, free: 0.9961 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.9005, allocations: 60.2 kB / 1.112 GB, free: 0.9219 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9005, allocations: 8 kB / 1.112 GB, free: 0.9141 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9005, allocations: 0 / 1.112 GB, free: 0.9141 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.9005, allocations: 0 / 1.112 GB, free: 0.9141 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.011e-05/0.9006, allocations: 138.1 kB / 1.112 GB, free: 0.7422 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9006, allocations: 1.031 kB / 1.112 GB, free: 0.7422 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.9006, allocations: 11.98 kB / 1.112 GB, free: 0.7305 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9006, allocations: 0 / 1.112 GB, free: 0.7305 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.9006, allocations: 1 kB / 1.112 GB, free: 0.7305 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.9006, allocations: 0 / 1.112 GB, free: 0.7305 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9006, allocations: 0 / 1.112 GB, free: 0.7305 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.87e-05/0.9008, allocations: 77.03 kB / 1.112 GB, free: 0.6367 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001736/0.9009, allocations: 453.4 kB / 1.113 GB, free: 176 kB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.901, allocations: 85.09 kB / 1.113 GB, free: 72 kB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.901, allocations: 3.906 kB / 1.113 GB, free: 68 kB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.9011, allocations: 5.438 kB / 1.113 GB, free: 64 kB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-06/0.9011, allocations: 5.312 kB / 1.113 GB, free: 60 kB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.9011, allocations: 0 / 1.113 GB, free: 60 kB / 0.7059 GB Notification: Performance of sort global known variables: time 3.933e-05/0.9012, allocations: 87.28 kB / 1.113 GB, free: 15.97 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.0007366/0.9019, allocations: 35.92 kB / 1.113 GB, free: 15.94 MB / 0.7215 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.0001681/0.9021, allocations: 127.2 kB / 1.113 GB, free: 15.8 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.9022, allocations: 15.94 kB / 1.113 GB, free: 15.79 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9022, allocations: 0 / 1.113 GB, free: 15.79 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.9022, allocations: 8 kB / 1.113 GB, free: 15.78 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.9023, allocations: 9.141 kB / 1.113 GB, free: 15.77 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.9025, allocations: 68.59 kB / 1.113 GB, free: 15.68 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.9027, allocations: 0.6965 MB / 1.114 GB, free: 14.97 MB / 0.7215 GB Notification: Performance of SimCode: time 2.71e-07/0.9027, allocations: 0 / 1.114 GB, free: 14.97 MB / 0.7215 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)