Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.466/2.466, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001687/0.001686, allocations: 187.3 kB / 360.3 MB, free: 7.523 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.83/1.83, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001244/0.001244, allocations: 91.62 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2846/0.2859, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.976, allocations: 115.2 MB / 0.9628 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.997, allocations: 362.1 MB / 1.316 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/1.998, allocations: 83.83 kB / 1.316 GB, free: 186.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.04237/2.04, allocations: 9.633 MB / 1.326 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.892e-05/2.04, allocations: 8.5 kB / 1.326 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/2.04, allocations: 18.31 kB / 1.326 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/2.041, allocations: 251.6 kB / 1.326 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/2.041, allocations: 2.844 kB / 1.326 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/2.041, allocations: 4.531 kB / 1.326 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004138/2.042, allocations: 69.61 kB / 1.326 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/2.042, allocations: 112.4 kB / 1.326 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/2.042, allocations: 0 / 1.326 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/2.042, allocations: 0 / 1.326 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/2.042, allocations: 14.98 kB / 1.326 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/2.044, allocations: 445.8 kB / 1.327 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/2.044, allocations: 129.7 kB / 1.327 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/2.045, allocations: 80.69 kB / 1.327 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/2.045, allocations: 5.234 kB / 1.327 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/2.045, allocations: 33.19 kB / 1.327 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 4.579e-06/2.045, allocations: 0 / 1.327 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.001002/2.046, allocations: 201.1 kB / 1.327 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/2.046, allocations: 62 kB / 1.327 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/2.046, allocations: 179.9 kB / 1.327 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/2.046, allocations: 25.7 kB / 1.327 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/2.046, allocations: 101 kB / 1.328 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/2.046, allocations: 35.48 kB / 1.328 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/2.046, allocations: 1.125 kB / 1.328 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/2.046, allocations: 336.5 kB / 1.328 GB, free: 184 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/2.047, allocations: 52.2 kB / 1.328 GB, free: 184 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/2.047, allocations: 51.78 kB / 1.328 GB, free: 184 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/2.047, allocations: 91.88 kB / 1.328 GB, free: 184 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/2.047, allocations: 0 / 1.328 GB, free: 184 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008559/2.048, allocations: 192.1 kB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/2.048, allocations: 7.344 kB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/2.048, allocations: 0 / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/2.048, allocations: 0 / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/2.049, allocations: 48.27 kB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/2.049, allocations: 5.578 kB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/2.049, allocations: 32.88 kB / 1.328 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/2.049, allocations: 4.438 kB / 1.328 GB, free: 183.9 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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 9.39e-05/2.049, allocations: 104.8 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/2.049, allocations: 24.14 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/2.05, allocations: 25.09 kB / 1.329 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/2.05, allocations: 4.828 kB / 1.329 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/2.05, allocations: 0 / 1.329 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/2.05, allocations: 0 / 1.329 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/2.05, allocations: 242.9 kB / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/2.05, allocations: 1.031 kB / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/2.05, allocations: 43.67 kB / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/2.05, allocations: 0 / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/2.05, allocations: 3.125 kB / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/2.05, allocations: 2.812 kB / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/2.05, allocations: 7.906 kB / 1.329 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008325/2.051, allocations: 296.8 kB / 1.329 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000886/2.052, allocations: 0.6743 MB / 1.33 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/2.052, allocations: 121.3 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/2.052, allocations: 0 / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/2.053, allocations: 15.89 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/2.053, allocations: 11.2 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/2.053, allocations: 3.719 kB / 1.33 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001867/2.053, allocations: 147.9 kB / 1.33 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001297/2.055, allocations: 38.84 kB / 1.33 GB, free: 182.7 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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.0002877/2.055, allocations: 149.8 kB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000412/2.055, allocations: 130.4 kB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.055, allocations: 0 / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/2.055, allocations: 71.2 kB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/2.056, allocations: 21.25 kB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008996/2.057, allocations: 239.2 kB / 1.331 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/2.057, allocations: 0.7613 MB / 1.331 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/2.057, allocations: 0 / 1.331 GB, free: 181.8 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)