Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.001742/0.001743, allocations: 176.2 kB / 7.798 MB, free: 1.207 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4536/0.4536, allocations: 90.84 MB / 99.06 MB, free: 9.07 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.4 MB / 342.8 MB, free: 1.031 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000989/0.000989, allocations: 103.4 kB / 415.5 MB, free: 0.5469 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1745/0.1756, allocations: 78.42 MB / 493.9 MB, free: 2.148 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.5976, allocations: 72.31 MB / 0.553 GB, free: 71 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.445/4.043, allocations: 1.683 GB / 2.236 GB, free: 83.86 MB / 0.5964 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/4.043, allocations: 79.95 kB / 2.236 GB, free: 83.79 MB / 0.5964 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.1335/4.176, allocations: 59.9 MB / 2.295 GB, free: 23.83 MB / 0.5964 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/4.176, allocations: 8 kB / 2.295 GB, free: 23.82 MB / 0.5964 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/4.178, allocations: 258.4 kB / 2.295 GB, free: 23.57 MB / 0.5964 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/4.179, allocations: 0.6153 MB / 2.296 GB, free: 22.91 MB / 0.5964 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/4.179, allocations: 32 kB / 2.296 GB, free: 22.88 MB / 0.5964 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/4.179, allocations: 57.67 kB / 2.296 GB, free: 22.82 MB / 0.5964 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/4.181, allocations: 0.9953 MB / 2.297 GB, free: 21.83 MB / 0.5964 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/4.182, allocations: 0.7725 MB / 2.297 GB, free: 21 MB / 0.5964 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/4.182, allocations: 0 / 2.297 GB, free: 21 MB / 0.5964 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/4.182, allocations: 0 / 2.297 GB, free: 21 MB / 0.5964 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/4.182, allocations: 20 kB / 2.297 GB, free: 20.98 MB / 0.5964 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/4.186, allocations: 2.558 MB / 2.3 GB, free: 18.36 MB / 0.5964 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/4.187, allocations: 0.7588 MB / 2.301 GB, free: 17.58 MB / 0.5964 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/4.188, allocations: 242.8 kB / 2.301 GB, free: 17.34 MB / 0.5964 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/4.188, allocations: 24.62 kB / 2.301 GB, free: 17.32 MB / 0.5964 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005379/4.188, allocations: 386 kB / 2.301 GB, free: 16.92 MB / 0.5964 GB Notification: Performance of pre-optimization done (n=74): time 3.377e-06/4.188, allocations: 0 / 2.301 GB, free: 16.92 MB / 0.5964 GB Notification: Performance of matching and sorting (n=74): time 0.001615/4.19, allocations: 0.6443 MB / 2.302 GB, free: 16.27 MB / 0.5964 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/4.19, allocations: 240 kB / 2.302 GB, free: 15.98 MB / 0.5964 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/4.191, allocations: 0.5023 MB / 2.303 GB, free: 15.47 MB / 0.5964 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/4.191, allocations: 29.64 kB / 2.303 GB, free: 15.43 MB / 0.5964 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/4.191, allocations: 308.1 kB / 2.303 GB, free: 15.12 MB / 0.5964 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/4.191, allocations: 237.4 kB / 2.303 GB, free: 14.89 MB / 0.5964 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/4.191, allocations: 0 / 2.303 GB, free: 14.89 MB / 0.5964 GB Notification: Performance of setup shared object (initialization): time 0.000107/4.191, allocations: 374.8 kB / 2.304 GB, free: 14.52 MB / 0.5964 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/4.191, allocations: 197.3 kB / 2.304 GB, free: 14.32 MB / 0.5964 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/4.192, allocations: 309 kB / 2.304 GB, free: 13.98 MB / 0.5964 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/4.192, allocations: 247 kB / 2.304 GB, free: 13.74 MB / 0.5964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/4.192, allocations: 0 / 2.304 GB, free: 13.74 MB / 0.5964 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001462/4.194, allocations: 0.6561 MB / 2.305 GB, free: 13.07 MB / 0.5964 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/4.194, allocations: 7.938 kB / 2.305 GB, free: 13.07 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/4.194, allocations: 0 / 2.305 GB, free: 13.07 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/4.194, allocations: 88.92 kB / 2.305 GB, free: 12.98 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/4.195, allocations: 145 kB / 2.305 GB, free: 12.84 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/4.197, allocations: 1.465 MB / 2.307 GB, free: 11.25 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/4.197, allocations: 67.61 kB / 2.307 GB, free: 11.18 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/4.198, allocations: 23.98 kB / 2.307 GB, free: 11.16 MB / 0.5964 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001676/4.198, allocations: 128.8 kB / 2.307 GB, free: 11.02 MB / 0.5964 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/4.198, allocations: 71.16 kB / 2.307 GB, free: 10.95 MB / 0.5964 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/4.2, allocations: 0.9138 MB / 2.308 GB, free: 10.03 MB / 0.5964 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/4.2, allocations: 8 kB / 2.308 GB, free: 10.02 MB / 0.5964 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/4.2, allocations: 0 / 2.308 GB, free: 10.02 MB / 0.5964 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/4.2, allocations: 7.984 kB / 2.308 GB, free: 10.02 MB / 0.5964 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/4.203, allocations: 1.76 MB / 2.309 GB, free: 8.195 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/4.203, allocations: 4 kB / 2.309 GB, free: 8.191 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/4.203, allocations: 147.8 kB / 2.31 GB, free: 8.047 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/4.204, allocations: 82.47 kB / 2.31 GB, free: 7.965 MB / 0.5964 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/4.204, allocations: 15.98 kB / 2.31 GB, free: 7.949 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/4.206, allocations: 1.48 MB / 2.311 GB, free: 6.348 MB / 0.5964 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/4.206, allocations: 0 / 2.311 GB, free: 6.348 MB / 0.5964 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001411/4.207, allocations: 0.8167 MB / 2.312 GB, free: 5.512 MB / 0.5964 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001583/4.209, allocations: 1.235 MB / 2.313 GB, free: 4.254 MB / 0.5964 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/4.209, allocations: 279.8 kB / 2.313 GB, free: 3.961 MB / 0.5964 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/4.209, allocations: 7.906 kB / 2.313 GB, free: 3.953 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/4.21, allocations: 55.95 kB / 2.313 GB, free: 3.898 MB / 0.5964 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/4.21, allocations: 52.69 kB / 2.314 GB, free: 3.848 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/4.21, allocations: 27.98 kB / 2.314 GB, free: 3.82 MB / 0.5964 GB Notification: Performance of sort global known variables: time 0.0004514/4.21, allocations: 406.9 kB / 2.314 GB, free: 3.426 MB / 0.5964 GB Notification: Performance of remove unused functions: time 0.001859/4.212, allocations: 419 kB / 2.314 GB, free: 3.016 MB / 0.5964 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/4.214, allocations: 1.061 MB / 2.315 GB, free: 2.055 MB / 0.5964 GB Notification: Performance of simCode: created initialization part: time 0.001097/4.215, allocations: 0.6468 MB / 2.316 GB, free: 1.395 MB / 0.5964 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/4.215, allocations: 4.312 kB / 2.316 GB, free: 1.391 MB / 0.5964 GB Notification: Performance of simCode: created simulation system equations: time 0.0005954/4.216, allocations: 452.4 kB / 2.316 GB, free: 0.9414 MB / 0.5964 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/4.217, allocations: 220.1 kB / 2.317 GB, free: 0.7266 MB / 0.5964 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2593/4.476, allocations: 1.334 MB / 2.318 GB, free: 227.3 MB / 0.5964 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/4.477, allocations: 1.127 MB / 2.319 GB, free: 226.6 MB / 0.5964 GB Notification: Performance of SimCode: time 7.31e-07/4.477, allocations: 0 / 2.319 GB, free: 226.6 MB / 0.5964 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)