Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7302/0.7302, allocations: 141.8 MB / 149.1 MB, free: 3.637 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 182.2 kB / 181.9 MB, free: 15.41 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.3 MB / 436 MB, free: 8.535 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 100.8 kB / 0.507 GB, free: 24.31 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 277 kB / 0.5884 GB, free: 11.62 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1924/0.1942, allocations: 89.65 MB / 0.676 GB, free: 1.895 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.6325, allocations: 82.76 MB / 0.7568 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.498/4.13, allocations: 1.69 GB / 2.447 GB, free: 96.34 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/4.13, allocations: 89.5 kB / 2.447 GB, free: 96.26 MB / 0.6982 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.1325/4.263, allocations: 59.89 MB / 2.506 GB, free: 36.18 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/4.263, allocations: 12 kB / 2.506 GB, free: 36.17 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/4.264, allocations: 250.5 kB / 2.506 GB, free: 35.93 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/4.266, allocations: 0.6269 MB / 2.506 GB, free: 35.25 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/4.266, allocations: 24 kB / 2.506 GB, free: 35.23 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/4.266, allocations: 51.98 kB / 2.506 GB, free: 35.18 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001589/4.268, allocations: 0.9953 MB / 2.507 GB, free: 34.18 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/4.269, allocations: 0.7687 MB / 2.508 GB, free: 33.36 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/4.269, allocations: 0 / 2.508 GB, free: 33.36 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/4.269, allocations: 4 kB / 2.508 GB, free: 33.36 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/4.269, allocations: 20 kB / 2.508 GB, free: 33.34 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00443/4.273, allocations: 2.56 MB / 2.511 GB, free: 30.71 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/4.275, allocations: 0.7704 MB / 2.511 GB, free: 29.91 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/4.275, allocations: 245.1 kB / 2.512 GB, free: 29.68 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/4.275, allocations: 28.69 kB / 2.512 GB, free: 29.65 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005444/4.276, allocations: 386.1 kB / 2.512 GB, free: 29.25 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=74): time 3.026e-06/4.276, allocations: 0 / 2.512 GB, free: 29.25 MB / 0.6982 GB Notification: Performance of matching and sorting (n=74): time 0.001599/4.277, allocations: 0.6404 MB / 2.513 GB, free: 28.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/4.277, allocations: 244 kB / 2.513 GB, free: 28.31 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006451/4.278, allocations: 0.5022 MB / 2.513 GB, free: 27.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/4.278, allocations: 25.7 kB / 2.513 GB, free: 27.77 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/4.278, allocations: 316 kB / 2.514 GB, free: 27.45 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/4.278, allocations: 228.5 kB / 2.514 GB, free: 27.23 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/4.278, allocations: 0 / 2.514 GB, free: 27.23 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.000102/4.279, allocations: 382.7 kB / 2.514 GB, free: 26.84 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/4.279, allocations: 193.3 kB / 2.515 GB, free: 26.65 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/4.279, allocations: 309 kB / 2.515 GB, free: 26.31 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/4.28, allocations: 247 kB / 2.515 GB, free: 26.07 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/4.28, allocations: 0 / 2.515 GB, free: 26.07 MB / 0.6982 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0014/4.281, allocations: 0.6599 MB / 2.516 GB, free: 25.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/4.281, allocations: 4 kB / 2.516 GB, free: 25.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/4.281, allocations: 3.984 kB / 2.516 GB, free: 25.39 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/4.282, allocations: 84.94 kB / 2.516 GB, free: 25.31 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/4.282, allocations: 143.8 kB / 2.516 GB, free: 25.17 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/4.284, allocations: 1.462 MB / 2.517 GB, free: 23.58 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/4.285, allocations: 71.52 kB / 2.517 GB, free: 23.51 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/4.285, allocations: 27.98 kB / 2.517 GB, free: 23.48 MB / 0.6982 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.0001549/4.285, allocations: 121 kB / 2.518 GB, free: 23.36 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/4.285, allocations: 75.14 kB / 2.518 GB, free: 23.29 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/4.287, allocations: 0.9084 MB / 2.519 GB, free: 22.39 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/4.287, allocations: 15.98 kB / 2.519 GB, free: 22.38 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/4.287, allocations: 3.906 kB / 2.519 GB, free: 22.37 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/4.287, allocations: 3.984 kB / 2.519 GB, free: 22.37 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/4.29, allocations: 1.756 MB / 2.52 GB, free: 20.55 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/4.29, allocations: 4 kB / 2.52 GB, free: 20.55 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/4.29, allocations: 143.8 kB / 2.52 GB, free: 20.41 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/4.291, allocations: 88.69 kB / 2.52 GB, free: 20.32 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/4.291, allocations: 11.98 kB / 2.52 GB, free: 20.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/4.292, allocations: 1.481 MB / 2.522 GB, free: 18.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/4.292, allocations: 0 / 2.522 GB, free: 18.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00137/4.294, allocations: 0.8167 MB / 2.523 GB, free: 17.86 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001491/4.295, allocations: 1.239 MB / 2.524 GB, free: 16.6 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/4.296, allocations: 275.8 kB / 2.524 GB, free: 16.31 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/4.296, allocations: 0 / 2.524 GB, free: 16.31 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/4.296, allocations: 55.95 kB / 2.524 GB, free: 16.26 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/4.297, allocations: 56.69 kB / 2.524 GB, free: 16.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/4.297, allocations: 27.98 kB / 2.524 GB, free: 16.18 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004768/4.297, allocations: 406.9 kB / 2.525 GB, free: 15.78 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001833/4.299, allocations: 419 kB / 2.525 GB, free: 15.37 MB / 0.6982 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.001909/4.301, allocations: 1.047 MB / 2.526 GB, free: 14.41 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001177/4.302, allocations: 0.6509 MB / 2.527 GB, free: 13.75 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/4.302, allocations: 4 kB / 2.527 GB, free: 13.75 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/4.303, allocations: 448.6 kB / 2.527 GB, free: 13.3 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/4.304, allocations: 225.7 kB / 2.527 GB, free: 13.08 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/4.307, allocations: 1.35 MB / 2.529 GB, free: 11.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/4.308, allocations: 1.135 MB / 2.53 GB, free: 10.54 MB / 0.6982 GB Notification: Performance of SimCode: time 2.61e-07/4.308, allocations: 0 / 2.53 GB, free: 10.54 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)