Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 190 kB / 7.808 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4545/0.4545, allocations: 90.85 MB / 99.07 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.268/1.268, allocations: 221.4 MB / 342.8 MB, free: 5.438 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.001077/0.001077, allocations: 89.02 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1754/0.1766, allocations: 78.45 MB / 494 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.5459, allocations: 72.31 MB / 0.553 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.6629, allocations: 105.6 MB / 0.6561 GB, free: 4.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.6632, allocations: 89.84 kB / 0.6562 GB, free: 4.344 MB / 474.7 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.02981/0.693, allocations: 10.69 MB / 0.6666 GB, free: 9.707 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6931, allocations: 8 kB / 0.6666 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.6933, allocations: 31.62 kB / 0.6666 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.6937, allocations: 277.6 kB / 0.6669 GB, free: 9.359 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.6938, allocations: 8 kB / 0.6669 GB, free: 9.352 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.6938, allocations: 11.91 kB / 0.6669 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009754/0.6948, allocations: 0.741 MB / 0.6677 GB, free: 8.598 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.6952, allocations: 205 kB / 0.6678 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.6952, allocations: 1.875 kB / 0.6678 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.6952, allocations: 0 / 0.6678 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.6953, allocations: 4 kB / 0.6679 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/0.6962, allocations: 0.571 MB / 0.6684 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.6967, allocations: 285.5 kB / 0.6687 GB, free: 7.477 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.6969, allocations: 97.39 kB / 0.6688 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.839e-05/0.6969, allocations: 24.19 kB / 0.6688 GB, free: 7.355 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.6972, allocations: 159.5 kB / 0.669 GB, free: 7.188 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 2.615e-06/0.6972, allocations: 0 / 0.669 GB, free: 7.188 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005718/0.6978, allocations: 261.1 kB / 0.6692 GB, free: 6.926 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.6979, allocations: 136.5 kB / 0.6693 GB, free: 6.762 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.6982, allocations: 264.1 kB / 0.6696 GB, free: 6.496 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.6982, allocations: 25.7 kB / 0.6696 GB, free: 6.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.6983, allocations: 108.6 kB / 0.6697 GB, free: 6.355 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.389e-05/0.6984, allocations: 110.4 kB / 0.6698 GB, free: 6.246 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.6984, allocations: 0 / 0.6698 GB, free: 6.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6986, allocations: 342.8 kB / 0.6701 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.6987, allocations: 75.84 kB / 0.6702 GB, free: 5.828 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.6989, allocations: 115.6 kB / 0.6703 GB, free: 5.703 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.6991, allocations: 107.9 kB / 0.6704 GB, free: 5.598 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6991, allocations: 0.8438 kB / 0.6704 GB, free: 5.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004462/0.6995, allocations: 265.5 kB / 0.6707 GB, free: 5.332 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6996, allocations: 4 kB / 0.6707 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.6996, allocations: 0 / 0.6707 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6996, allocations: 4 kB / 0.6707 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.6998, allocations: 59.91 kB / 0.6707 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6999, allocations: 7.188 kB / 0.6708 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.7, allocations: 31.67 kB / 0.6708 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.7001, allocations: 12 kB / 0.6708 GB, free: 5.219 MB / 490.7 MB 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.tNext,conTim.tNext) * 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.0001143/0.7002, allocations: 114.4 kB / 0.6709 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.7003, allocations: 31.61 kB / 0.6709 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007318/0.701, allocations: 372.7 kB / 0.6713 GB, free: 4.723 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.701, allocations: 8 kB / 0.6713 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7011, allocations: 0 / 0.6713 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.7011, allocations: 7.984 kB / 0.6713 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.7014, allocations: 305.8 kB / 0.6716 GB, free: 4.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7014, allocations: 4 kB / 0.6716 GB, free: 4.367 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.7016, allocations: 59.91 kB / 0.6717 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.7016, allocations: 4 kB / 0.6717 GB, free: 4.305 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.7016, allocations: 7.984 kB / 0.6717 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7017, allocations: 0 / 0.6717 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/0.7017, allocations: 0 / 0.6717 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004444/0.7021, allocations: 313.7 kB / 0.672 GB, free: 3.973 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005694/0.7027, allocations: 0.6745 MB / 0.6726 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.7029, allocations: 156.7 kB / 0.6728 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.7029, allocations: 0 / 0.6728 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.7031, allocations: 27.89 kB / 0.6728 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.7032, allocations: 29.8 kB / 0.6728 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.7033, allocations: 15.98 kB / 0.6728 GB, free: 3.035 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002393/0.7035, allocations: 216.5 kB / 0.6731 GB, free: 2.824 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009055/0.7044, allocations: 75.94 kB / 0.6731 GB, free: 2.75 MB / 490.7 MB 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.tNext) * Number of discrete states: 1 (conTim.tNext) * 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.0007295/0.7052, allocations: 315.4 kB / 0.6734 GB, free: 2.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.7055, allocations: 215.7 kB / 0.6736 GB, free: 2.359 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7056, allocations: 0 / 0.6736 GB, free: 2.359 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.7058, allocations: 119.9 kB / 0.6737 GB, free: 2.242 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.706, allocations: 38.25 kB / 0.6738 GB, free: 2.211 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.7069, allocations: 411.1 kB / 0.6742 GB, free: 1.785 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/0.7074, allocations: 0.8311 MB / 0.675 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7074, allocations: 0 / 0.675 GB, free: 0.9258 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)