Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_dev_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.003173/0.003173, allocations: 186.7 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6689/0.6689, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.578/1.578, allocations: 221.3 MB / 395 MB, free: 10.26 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.001036/0.001036, allocations: 110.2 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5523/0.5534, allocations: 88.42 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.7707, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.741/5.512, allocations: 1.693 GB / 2.326 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004502/5.512, allocations: 86.3 kB / 2.326 GB, free: 259 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.1364/5.649, allocations: 59.88 MB / 2.385 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/5.649, allocations: 12 kB / 2.385 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/5.65, allocations: 254.4 kB / 2.385 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/5.651, allocations: 0.6192 MB / 2.385 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/5.651, allocations: 28 kB / 2.385 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/5.651, allocations: 51.94 kB / 2.386 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001373/5.653, allocations: 1.007 MB / 2.387 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/5.654, allocations: 0.757 MB / 2.387 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/5.654, allocations: 0 / 2.387 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/5.654, allocations: 7.906 kB / 2.387 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/5.654, allocations: 20 kB / 2.387 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/5.657, allocations: 2.571 MB / 2.39 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/5.658, allocations: 0.7472 MB / 2.391 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/5.659, allocations: 254.7 kB / 2.391 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.938e-05/5.659, allocations: 24.61 kB / 2.391 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004835/5.659, allocations: 386 kB / 2.391 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 2.735e-06/5.659, allocations: 0 / 2.391 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.001513/5.661, allocations: 0.6366 MB / 2.392 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/5.661, allocations: 247.9 kB / 2.392 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/5.661, allocations: 0.4984 MB / 2.393 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/5.661, allocations: 29.7 kB / 2.393 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/5.662, allocations: 308 kB / 2.393 GB, free: 205 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/5.662, allocations: 232.4 kB / 2.393 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/5.662, allocations: 0 / 2.393 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001069/5.662, allocations: 382.8 kB / 2.393 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/5.662, allocations: 185.3 kB / 2.394 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/5.663, allocations: 316.9 kB / 2.394 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/5.663, allocations: 243 kB / 2.394 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/5.663, allocations: 0 / 2.394 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001407/5.664, allocations: 0.6678 MB / 2.395 GB, free: 203 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/5.664, allocations: 4 kB / 2.395 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/5.664, allocations: 4 kB / 2.395 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/5.665, allocations: 80.94 kB / 2.395 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/5.666, allocations: 143.8 kB / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/5.668, allocations: 1.468 MB / 2.396 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/5.668, allocations: 67.56 kB / 2.397 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/5.668, allocations: 27.98 kB / 2.397 GB, free: 201.1 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.0001789/5.669, allocations: 119.3 kB / 2.397 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/5.669, allocations: 75.06 kB / 2.397 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/5.671, allocations: 0.9253 MB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/5.671, allocations: 12 kB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/5.671, allocations: 0 / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/5.671, allocations: 3.984 kB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/5.673, allocations: 1.752 MB / 2.399 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/5.673, allocations: 0 / 2.399 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/5.674, allocations: 155.7 kB / 2.399 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/5.674, allocations: 88.72 kB / 2.4 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/5.674, allocations: 11.98 kB / 2.4 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/5.676, allocations: 1.484 MB / 2.401 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/5.676, allocations: 3.938 kB / 2.401 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001303/5.677, allocations: 0.8128 MB / 2.402 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001477/5.679, allocations: 1.235 MB / 2.403 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/5.679, allocations: 271.8 kB / 2.403 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/5.679, allocations: 0 / 2.403 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006/5.68, allocations: 67.84 kB / 2.403 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/5.68, allocations: 48.7 kB / 2.403 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/5.68, allocations: 35.97 kB / 2.403 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000393/5.68, allocations: 402.9 kB / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001742/5.682, allocations: 411 kB / 2.404 GB, free: 192.9 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.001622/5.684, allocations: 1.044 MB / 2.405 GB, free: 192 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001071/5.685, allocations: 0.6583 MB / 2.406 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/5.685, allocations: 0 / 2.406 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/5.686, allocations: 449 kB / 2.406 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/5.687, allocations: 238.2 kB / 2.407 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/5.69, allocations: 1.343 MB / 2.408 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007697/5.691, allocations: 1.123 MB / 2.409 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of SimCode: time 6.62e-07/5.691, allocations: 0 / 2.409 GB, free: 188.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)