Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7074/0.7074, allocations: 127.4 MB / 134.6 MB, free: 4.051 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00195/0.00195, allocations: 181.3 kB / 164.4 MB, free: 6.855 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 78.73 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3736/0.3748, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.6266, allocations: 76.75 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.136/6.762, allocations: 2.146 GB / 2.767 GB, free: 65.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/6.763, allocations: 83.95 kB / 2.767 GB, free: 65.14 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.1266/6.889, allocations: 54.81 MB / 2.821 GB, free: 10 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/6.889, allocations: 12 kB / 2.821 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/6.892, allocations: 386.2 kB / 2.821 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/6.894, allocations: 0.5374 MB / 2.822 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/6.894, allocations: 28 kB / 2.822 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/6.894, allocations: 44 kB / 2.822 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002088/6.896, allocations: 1.019 MB / 2.823 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/6.898, allocations: 0.7419 MB / 2.823 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/6.898, allocations: 0 / 2.823 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/6.898, allocations: 0 / 2.823 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/6.898, allocations: 24 kB / 2.823 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/6.903, allocations: 2.542 MB / 2.826 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/6.905, allocations: 0.7666 MB / 2.827 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/6.905, allocations: 258.8 kB / 2.827 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/6.906, allocations: 474.1 kB / 2.827 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006393/6.907, allocations: 410.8 kB / 2.828 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=74): time 4.359e-06/6.907, allocations: 0 / 2.828 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.002351/6.909, allocations: 0.7185 MB / 2.828 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/6.909, allocations: 162.9 kB / 2.829 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/6.91, allocations: 453.4 kB / 2.829 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/6.91, allocations: 25.7 kB / 2.829 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/6.91, allocations: 296.1 kB / 2.829 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/6.91, allocations: 232.5 kB / 2.83 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/6.91, allocations: 0 / 2.83 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001377/6.911, allocations: 370.7 kB / 2.83 GB, free: 208 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/6.911, allocations: 205.2 kB / 2.83 GB, free: 4 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3922/7.303, allocations: 296.2 kB / 2.83 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/7.304, allocations: 315.8 kB / 2.831 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/7.304, allocations: 0 / 2.831 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0022/7.306, allocations: 0.7477 MB / 2.831 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/7.306, allocations: 3.969 kB / 2.831 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/7.306, allocations: 6.156 kB / 2.831 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006561/7.307, allocations: 86.92 kB / 2.832 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008088/7.308, allocations: 163.2 kB / 2.832 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/7.31, allocations: 1.448 MB / 2.833 GB, free: 256.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/7.311, allocations: 66.81 kB / 2.833 GB, free: 256.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/7.311, allocations: 30.58 kB / 2.833 GB, free: 256.6 MB / 0.6355 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * 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.000198/7.311, allocations: 115.5 kB / 2.833 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/7.311, allocations: 73.09 kB / 2.833 GB, free: 256.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/7.314, allocations: 0.9876 MB / 2.834 GB, free: 256.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/7.314, allocations: 7.656 kB / 2.834 GB, free: 256.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/7.314, allocations: 0 / 2.834 GB, free: 256.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/7.314, allocations: 11.55 kB / 2.834 GB, free: 256.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/7.318, allocations: 1.791 MB / 2.836 GB, free: 256 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/7.318, allocations: 3.406 kB / 2.836 GB, free: 256 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/7.318, allocations: 155.5 kB / 2.836 GB, free: 256 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/7.319, allocations: 89.36 kB / 2.836 GB, free: 256 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/7.319, allocations: 12.39 kB / 2.836 GB, free: 256 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/7.321, allocations: 1.475 MB / 2.838 GB, free: 254.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/7.321, allocations: 3.969 kB / 2.838 GB, free: 254.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002012/7.323, allocations: 0.8841 MB / 2.839 GB, free: 254.6 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002218/7.325, allocations: 1.296 MB / 2.84 GB, free: 254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/7.325, allocations: 271.2 kB / 2.84 GB, free: 253.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/7.326, allocations: 0 / 2.84 GB, free: 253.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/7.326, allocations: 65.53 kB / 2.84 GB, free: 253.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/7.326, allocations: 49.33 kB / 2.84 GB, free: 253.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/7.327, allocations: 33.66 kB / 2.84 GB, free: 253.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005259/7.327, allocations: 360.6 kB / 2.841 GB, free: 253.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002003/7.329, allocations: 400.3 kB / 2.841 GB, free: 253.8 MB / 0.6355 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.002058/7.331, allocations: 1.022 MB / 2.842 GB, free: 253.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001312/7.332, allocations: 0.6633 MB / 2.843 GB, free: 253.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/7.333, allocations: 2.281 kB / 2.843 GB, free: 253.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006863/7.333, allocations: 452.5 kB / 2.843 GB, free: 253.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009813/7.334, allocations: 173.7 kB / 2.843 GB, free: 253.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/7.338, allocations: 1.282 MB / 2.845 GB, free: 253.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008023/7.339, allocations: 1.1 MB / 2.846 GB, free: 252.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/7.339, allocations: 0 / 2.846 GB, free: 252.4 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)