Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_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.00442/0.00442, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8045/0.8045, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 91.47 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5358/0.5369, allocations: 88.44 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.7534, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.303/6.057, allocations: 1.693 GB / 2.326 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/6.057, allocations: 83.53 kB / 2.326 GB, free: 259.7 MB / 0.6823 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.1589/6.216, allocations: 59.89 MB / 2.385 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/6.216, allocations: 8 kB / 2.385 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/6.218, allocations: 262.4 kB / 2.385 GB, free: 215 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/6.22, allocations: 0.627 MB / 2.385 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/6.22, allocations: 28 kB / 2.386 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/6.22, allocations: 44 kB / 2.386 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001825/6.222, allocations: 1.003 MB / 2.387 GB, free: 213.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/6.223, allocations: 0.7531 MB / 2.387 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/6.223, allocations: 7.938 kB / 2.387 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/6.224, allocations: 3.906 kB / 2.387 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/6.224, allocations: 20 kB / 2.387 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/6.228, allocations: 2.571 MB / 2.39 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/6.229, allocations: 0.7471 MB / 2.391 GB, free: 209 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/6.229, allocations: 246.7 kB / 2.391 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/6.23, allocations: 40.67 kB / 2.391 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000504/6.23, allocations: 374.1 kB / 2.391 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 4.589e-06/6.23, allocations: 0 / 2.391 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.001633/6.232, allocations: 0.6366 MB / 2.392 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/6.232, allocations: 251.9 kB / 2.392 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/6.233, allocations: 0.4984 MB / 2.393 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/6.233, allocations: 29.64 kB / 2.393 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/6.233, allocations: 308 kB / 2.393 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/6.233, allocations: 236.4 kB / 2.393 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/6.233, allocations: 0 / 2.393 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001226/6.233, allocations: 382.8 kB / 2.393 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/6.233, allocations: 189.3 kB / 2.394 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/6.234, allocations: 305 kB / 2.394 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/6.234, allocations: 251 kB / 2.394 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/6.234, allocations: 0 / 2.394 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001702/6.236, allocations: 0.6561 MB / 2.395 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/6.236, allocations: 8 kB / 2.395 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/6.236, allocations: 0 / 2.395 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007878/6.237, allocations: 88.88 kB / 2.395 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/6.238, allocations: 147.8 kB / 2.395 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/6.24, allocations: 1.461 MB / 2.396 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/6.24, allocations: 67.55 kB / 2.397 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/6.24, allocations: 31.92 kB / 2.397 GB, free: 202.6 MB / 0.6823 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.0002039/6.24, allocations: 125.6 kB / 2.397 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/6.241, allocations: 71.06 kB / 2.397 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/6.243, allocations: 0.9175 MB / 2.398 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/6.243, allocations: 11.94 kB / 2.398 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/6.243, allocations: 0 / 2.398 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/6.243, allocations: 3.984 kB / 2.398 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/6.246, allocations: 1.759 MB / 2.399 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/6.246, allocations: 4 kB / 2.399 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/6.247, allocations: 151.8 kB / 2.4 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005495/6.247, allocations: 80.78 kB / 2.4 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/6.247, allocations: 15.98 kB / 2.4 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/6.249, allocations: 1.476 MB / 2.401 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/6.249, allocations: 4.031 kB / 2.401 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001775/6.251, allocations: 0.8167 MB / 2.402 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001768/6.253, allocations: 1.239 MB / 2.403 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005975/6.253, allocations: 275.8 kB / 2.403 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/6.254, allocations: 4 kB / 2.403 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007583/6.254, allocations: 59.84 kB / 2.403 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/6.255, allocations: 52.7 kB / 2.403 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/6.255, allocations: 31.97 kB / 2.403 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006144/6.255, allocations: 410.9 kB / 2.404 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002269/6.258, allocations: 407.1 kB / 2.404 GB, free: 194.4 MB / 0.6823 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.002266/6.26, allocations: 1.045 MB / 2.405 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001659/6.261, allocations: 0.6587 MB / 2.406 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/6.261, allocations: 0 / 2.406 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008309/6.262, allocations: 448.6 kB / 2.406 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/6.264, allocations: 222.3 kB / 2.407 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/6.269, allocations: 1.347 MB / 2.408 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000972/6.27, allocations: 1.123 MB / 2.409 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/6.27, allocations: 3.938 kB / 2.409 GB, free: 189.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)