Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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/BuildSysPro 3.5.0/package.mo): time 0.7164/0.7164, allocations: 127.4 MB / 134.6 MB, free: 9.82 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 179.3 kB / 164.4 MB, free: 5.488 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.1 MB / 399.1 MB, free: 2.992 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 85.86 kB / 476.3 MB, free: 2.652 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2485/0.2498, allocations: 82.89 MB / 0.5461 GB, free: 15.71 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.8548, allocations: 76.74 MB / 0.621 GB, free: 86.52 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/1.019, allocations: 105.3 MB / 0.7238 GB, free: 3.93 MB / 498.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/1.019, allocations: 85.66 kB / 0.7239 GB, free: 3.848 MB / 498.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.02288/1.042, allocations: 8.346 MB / 0.732 GB, free: 11.59 MB / 0.5027 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.042, allocations: 15.94 kB / 0.7321 GB, free: 11.58 MB / 0.5027 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/1.042, allocations: 37.55 kB / 0.7321 GB, free: 11.54 MB / 0.5027 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/1.043, allocations: 262.6 kB / 0.7324 GB, free: 11.25 MB / 0.5027 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/1.043, allocations: 4.562 kB / 0.7324 GB, free: 11.24 MB / 0.5027 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/1.043, allocations: 15.06 kB / 0.7324 GB, free: 11.23 MB / 0.5027 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001026/1.044, allocations: 0.7295 MB / 0.7331 GB, free: 10.5 MB / 0.5027 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/1.044, allocations: 194.3 kB / 0.7333 GB, free: 10.3 MB / 0.5027 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.044, allocations: 4 kB / 0.7333 GB, free: 10.3 MB / 0.5027 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/1.044, allocations: 3.906 kB / 0.7333 GB, free: 10.29 MB / 0.5027 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/1.044, allocations: 4 kB / 0.7333 GB, free: 10.29 MB / 0.5027 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/1.046, allocations: 0.5848 MB / 0.7338 GB, free: 9.664 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/1.046, allocations: 278.5 kB / 0.7341 GB, free: 9.383 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/1.046, allocations: 109.1 kB / 0.7342 GB, free: 9.277 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 5.064e-05/1.046, allocations: 20.78 kB / 0.7342 GB, free: 9.258 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/1.047, allocations: 157 kB / 0.7344 GB, free: 9.094 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/1.047, allocations: 0 / 0.7344 GB, free: 9.094 MB / 0.5027 GB Notification: Performance of matching and sorting (n=35): time 0.0005265/1.047, allocations: 261.7 kB / 0.7346 GB, free: 8.832 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/1.047, allocations: 82.45 kB / 0.7347 GB, free: 8.734 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/1.048, allocations: 256.3 kB / 0.735 GB, free: 8.477 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/1.048, allocations: 25.7 kB / 0.735 GB, free: 8.445 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/1.048, allocations: 109.3 kB / 0.7351 GB, free: 8.336 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/1.048, allocations: 110.4 kB / 0.7352 GB, free: 8.227 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/1.048, allocations: 0.5 kB / 0.7352 GB, free: 8.227 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.048, allocations: 339.6 kB / 0.7355 GB, free: 7.887 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/1.048, allocations: 68.7 kB / 0.7356 GB, free: 7.82 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/1.048, allocations: 98.19 kB / 0.7357 GB, free: 7.719 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/1.048, allocations: 101.7 kB / 0.7358 GB, free: 7.621 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.048, allocations: 0 / 0.7358 GB, free: 7.621 MB / 0.5027 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004779/1.049, allocations: 265 kB / 0.736 GB, free: 7.355 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.049, allocations: 6.719 kB / 0.736 GB, free: 7.352 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.049, allocations: 11.31 kB / 0.736 GB, free: 7.344 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.049, allocations: 0 / 0.736 GB, free: 7.344 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/1.049, allocations: 59.91 kB / 0.7361 GB, free: 7.285 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.049, allocations: 3.906 kB / 0.7361 GB, free: 7.281 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/1.049, allocations: 17.41 kB / 0.7361 GB, free: 7.266 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/1.049, allocations: 15.98 kB / 0.7361 GB, free: 7.25 MB / 0.5027 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001084/1.049, allocations: 105.6 kB / 0.7362 GB, free: 7.141 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/1.05, allocations: 32.97 kB / 0.7363 GB, free: 7.109 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/1.05, allocations: 369.1 kB / 0.7366 GB, free: 6.762 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.05, allocations: 0 / 0.7366 GB, free: 6.762 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.05, allocations: 4 kB / 0.7366 GB, free: 6.758 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.05, allocations: 11.91 kB / 0.7366 GB, free: 6.746 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/1.051, allocations: 301.7 kB / 0.7369 GB, free: 6.414 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.051, allocations: 0 / 0.7369 GB, free: 6.414 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/1.051, allocations: 59.97 kB / 0.737 GB, free: 6.355 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/1.051, allocations: 0 / 0.737 GB, free: 6.355 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/1.051, allocations: 4 kB / 0.737 GB, free: 6.352 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/1.051, allocations: 11.19 kB / 0.737 GB, free: 6.344 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.051, allocations: 3.984 kB / 0.737 GB, free: 6.34 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004329/1.051, allocations: 302.3 kB / 0.7373 GB, free: 6.027 MB / 0.5027 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005859/1.052, allocations: 0.6661 MB / 0.7379 GB, free: 5.34 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/1.052, allocations: 156.7 kB / 0.7381 GB, free: 5.168 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/1.052, allocations: 3.094 kB / 0.7381 GB, free: 5.168 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/1.052, allocations: 19.98 kB / 0.7381 GB, free: 5.148 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/1.052, allocations: 19.97 kB / 0.7381 GB, free: 5.129 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/1.052, allocations: 15.98 kB / 0.7381 GB, free: 5.113 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.0002234/1.053, allocations: 212.4 kB / 0.7383 GB, free: 4.906 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.0009737/1.054, allocations: 71.86 kB / 0.7384 GB, free: 4.836 MB / 0.5027 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008463/1.055, allocations: 307.2 kB / 0.7387 GB, free: 4.656 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.0004025/1.055, allocations: 204.3 kB / 0.7389 GB, free: 4.457 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.055, allocations: 4 kB / 0.7389 GB, free: 4.453 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/1.055, allocations: 120.4 kB / 0.739 GB, free: 4.336 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/1.055, allocations: 32.58 kB / 0.7391 GB, free: 4.301 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/1.056, allocations: 412.8 kB / 0.7394 GB, free: 3.879 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/1.057, allocations: 0.8248 MB / 0.7403 GB, free: 3.027 MB / 0.5027 GB Notification: Performance of SimCode: time 3.01e-07/1.057, allocations: 0 / 0.7403 GB, free: 3.027 MB / 0.5027 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)