Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 1.822/1.822, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 189.2 kB / 490.8 MB, free: 1.91 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 221.4 MB / 0.7863 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00083/0.00083, allocations: 89.59 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4185/0.4194, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.607, allocations: 143 MB / 1.212 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.576/3.183, allocations: 1.731 GB / 2.943 GB, free: 109.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/3.183, allocations: 82.27 kB / 2.943 GB, free: 109 MB / 1.151 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.1178/3.301, allocations: 59.9 MB / 3.001 GB, free: 48.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/3.301, allocations: 8 kB / 3.001 GB, free: 48.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/3.302, allocations: 254.5 kB / 3.001 GB, free: 48.55 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/3.303, allocations: 0.6269 MB / 3.002 GB, free: 47.88 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/3.303, allocations: 28 kB / 3.002 GB, free: 47.85 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/3.303, allocations: 48 kB / 3.002 GB, free: 47.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001249/3.304, allocations: 0.9992 MB / 3.003 GB, free: 46.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/3.305, allocations: 0.7609 MB / 3.004 GB, free: 45.99 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/3.306, allocations: 0 / 3.004 GB, free: 45.99 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-05/3.306, allocations: 0 / 3.004 GB, free: 45.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/3.306, allocations: 20 kB / 3.004 GB, free: 45.97 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/3.309, allocations: 2.567 MB / 3.006 GB, free: 43.34 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009918/3.31, allocations: 0.7549 MB / 3.007 GB, free: 42.56 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/3.31, allocations: 246.8 kB / 3.007 GB, free: 42.32 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.117e-05/3.31, allocations: 36.59 kB / 3.007 GB, free: 42.28 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004541/3.31, allocations: 374.1 kB / 3.008 GB, free: 41.89 MB / 1.151 GB Notification: Performance of pre-optimization done (n=74): time 2.475e-06/3.31, allocations: 0 / 3.008 GB, free: 41.89 MB / 1.151 GB Notification: Performance of matching and sorting (n=74): time 0.001393/3.312, allocations: 0.6442 MB / 3.008 GB, free: 41.24 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/3.312, allocations: 244 kB / 3.009 GB, free: 40.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/3.312, allocations: 0.5061 MB / 3.009 GB, free: 40.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/3.313, allocations: 25.7 kB / 3.009 GB, free: 40.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/3.313, allocations: 312 kB / 3.009 GB, free: 40.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/3.313, allocations: 228.5 kB / 3.01 GB, free: 39.86 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/3.313, allocations: 0 / 3.01 GB, free: 39.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/3.313, allocations: 382.7 kB / 3.01 GB, free: 39.48 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/3.313, allocations: 193.3 kB / 3.01 GB, free: 39.29 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/3.313, allocations: 312.9 kB / 3.01 GB, free: 38.95 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/3.314, allocations: 247 kB / 3.011 GB, free: 38.71 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/3.314, allocations: 0 / 3.011 GB, free: 38.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001324/3.315, allocations: 0.6638 MB / 3.011 GB, free: 38.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/3.315, allocations: 4 kB / 3.011 GB, free: 38.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/3.315, allocations: 0 / 3.011 GB, free: 38.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/3.316, allocations: 84.94 kB / 3.011 GB, free: 37.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/3.316, allocations: 147.8 kB / 3.012 GB, free: 37.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/3.318, allocations: 1.457 MB / 3.013 GB, free: 36.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/3.319, allocations: 75.5 kB / 3.013 GB, free: 36.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/3.319, allocations: 23.98 kB / 3.013 GB, free: 36.12 MB / 1.151 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.0001571/3.319, allocations: 120.9 kB / 3.013 GB, free: 36 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/3.319, allocations: 75.06 kB / 3.013 GB, free: 35.92 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/3.321, allocations: 0.9137 MB / 3.014 GB, free: 35 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/3.321, allocations: 8 kB / 3.014 GB, free: 34.99 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/3.321, allocations: 3.906 kB / 3.014 GB, free: 34.98 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/3.321, allocations: 7.984 kB / 3.014 GB, free: 34.98 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/3.323, allocations: 1.76 MB / 3.016 GB, free: 33.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/3.323, allocations: 8 kB / 3.016 GB, free: 33.15 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/3.324, allocations: 143.8 kB / 3.016 GB, free: 33.01 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004822/3.324, allocations: 84.69 kB / 3.016 GB, free: 32.92 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/3.324, allocations: 15.98 kB / 3.016 GB, free: 32.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/3.326, allocations: 1.477 MB / 3.018 GB, free: 31.31 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/3.326, allocations: 0 / 3.018 GB, free: 31.31 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001287/3.327, allocations: 0.8322 MB / 3.018 GB, free: 30.46 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001377/3.329, allocations: 1.227 MB / 3.02 GB, free: 29.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/3.329, allocations: 279.8 kB / 3.02 GB, free: 28.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/3.329, allocations: 0 / 3.02 GB, free: 28.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/3.33, allocations: 59.94 kB / 3.02 GB, free: 28.85 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/3.33, allocations: 48.7 kB / 3.02 GB, free: 28.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/3.33, allocations: 27.98 kB / 3.02 GB, free: 28.78 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003573/3.33, allocations: 414.9 kB / 3.02 GB, free: 28.38 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00154/3.332, allocations: 411 kB / 3.021 GB, free: 27.97 MB / 1.151 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.001562/3.333, allocations: 1.052 MB / 3.022 GB, free: 27.02 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000973/3.334, allocations: 0.6549 MB / 3.022 GB, free: 26.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/3.334, allocations: 0 / 3.022 GB, free: 26.36 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/3.335, allocations: 448.5 kB / 3.023 GB, free: 25.91 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/3.336, allocations: 220.6 kB / 3.023 GB, free: 25.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/3.339, allocations: 1.343 MB / 3.024 GB, free: 24.33 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006133/3.339, allocations: 1.132 MB / 3.025 GB, free: 23.18 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/3.339, allocations: 0 / 3.025 GB, free: 23.18 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat does not exist to compare? outputFormat=mat