Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.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.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces",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.7153/0.7153, allocations: 141.8 MB / 149.1 MB, free: 11.88 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001512, allocations: 185.8 kB / 181.9 MB, free: 8.695 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.287/1.287, allocations: 221.3 MB / 436 MB, free: 1.012 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.0008973/0.0008972, allocations: 98.81 kB / 0.507 GB, free: 9.945 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001904/0.001904, allocations: 275.3 kB / 0.5884 GB, free: 6.758 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1931/0.195, allocations: 89.64 MB / 0.676 GB, free: 13.04 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.5869, allocations: 82.76 MB / 0.7568 GB, free: 137.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.7043, allocations: 108.1 MB / 0.8623 GB, free: 29.67 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.7047, allocations: 75.94 kB / 0.8624 GB, free: 29.6 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.002778/0.7075, allocations: 0.9968 MB / 0.8634 GB, free: 28.57 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.7075, allocations: 13.25 kB / 0.8634 GB, free: 28.56 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.7076, allocations: 0.7188 kB / 0.8634 GB, free: 28.56 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.7077, allocations: 163 kB / 0.8635 GB, free: 28.36 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.7077, allocations: 0.5312 kB / 0.8635 GB, free: 28.36 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.7077, allocations: 5.781 kB / 0.8635 GB, free: 28.36 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.132e-05/0.7078, allocations: 4 kB / 0.8636 GB, free: 28.36 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.645e-05/0.7079, allocations: 29.69 kB / 0.8636 GB, free: 28.32 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7079, allocations: 3.938 kB / 0.8636 GB, free: 28.32 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.7079, allocations: 0.5625 kB / 0.8636 GB, free: 28.32 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.7079, allocations: 4 kB / 0.8636 GB, free: 28.31 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.7081, allocations: 135 kB / 0.8637 GB, free: 28.14 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.071e-05/0.7081, allocations: 23.36 kB / 0.8637 GB, free: 28.11 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.7082, allocations: 9.984 kB / 0.8637 GB, free: 28.1 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.7084, allocations: 94.41 kB / 0.8638 GB, free: 27.99 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.7084, allocations: 35.25 kB / 0.8639 GB, free: 27.95 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.7084, allocations: 0.5 kB / 0.8639 GB, free: 27.95 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.0002091/0.7086, allocations: 38.44 kB / 0.8639 GB, free: 27.91 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.7087, allocations: 55.34 kB / 0.864 GB, free: 27.84 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.7087, allocations: 93.64 kB / 0.8641 GB, free: 27.74 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.7088, allocations: 26.3 kB / 0.8641 GB, free: 27.71 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.7088, allocations: 85.05 kB / 0.8642 GB, free: 27.62 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.7088, allocations: 11.89 kB / 0.8642 GB, free: 27.61 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.7088, allocations: 1.188 kB / 0.8642 GB, free: 27.61 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.7089, allocations: 310.8 kB / 0.8645 GB, free: 27.3 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.7089, allocations: 0 / 0.8645 GB, free: 27.3 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-06/0.7089, allocations: 4.812 kB / 0.8645 GB, free: 27.3 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.099e-05/0.709, allocations: 8.484 kB / 0.8645 GB, free: 27.29 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.709, allocations: 1.406 kB / 0.8645 GB, free: 27.29 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.887e-05/0.7091, allocations: 45.59 kB / 0.8645 GB, free: 27.24 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.7091, allocations: 8 kB / 0.8645 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7091, allocations: 1.5 kB / 0.8645 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.7091, allocations: 0 / 0.8645 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.7092, allocations: 4 kB / 0.8645 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7092, allocations: 0 / 0.8645 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.7092, allocations: 1.375 kB / 0.8645 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.7092, allocations: 3.938 kB / 0.8645 GB, free: 27.22 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.7093, allocations: 110 kB / 0.8646 GB, free: 27.11 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.7093, allocations: 4 kB / 0.8647 GB, free: 27.11 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.7095, allocations: 55.5 kB / 0.8647 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.7095, allocations: 1.562 kB / 0.8647 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7095, allocations: 0 / 0.8647 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7095, allocations: 0 / 0.8647 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.997e-05/0.7096, allocations: 134.1 kB / 0.8648 GB, free: 26.88 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7096, allocations: 5.281 kB / 0.8648 GB, free: 26.88 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.7096, allocations: 7.938 kB / 0.8648 GB, free: 26.87 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7096, allocations: 4 kB / 0.8648 GB, free: 26.87 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.7096, allocations: 1.312 kB / 0.8649 GB, free: 26.87 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7096, allocations: 3.984 kB / 0.8649 GB, free: 26.86 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7096, allocations: 0 / 0.8649 GB, free: 26.86 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001027/0.7098, allocations: 79.97 kB / 0.8649 GB, free: 26.77 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001555/0.7099, allocations: 454.8 kB / 0.8654 GB, free: 26.3 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.71, allocations: 77.67 kB / 0.8654 GB, free: 26.21 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.71, allocations: 0.7188 kB / 0.8654 GB, free: 26.21 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.71, allocations: 0 / 0.8654 GB, free: 26.21 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.71, allocations: 1 kB / 0.8654 GB, free: 26.21 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.71, allocations: 4 kB / 0.8654 GB, free: 26.21 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.352e-05/0.7101, allocations: 79.83 kB / 0.8655 GB, free: 26.13 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0007593/0.7108, allocations: 11.91 kB / 0.8655 GB, free: 26.12 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001563/0.711, allocations: 104.8 kB / 0.8656 GB, free: 26.01 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 7.826e-05/0.7111, allocations: 20.39 kB / 0.8657 GB, free: 25.99 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7111, allocations: 0.8438 kB / 0.8657 GB, free: 25.99 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.7111, allocations: 8 kB / 0.8657 GB, free: 25.98 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.7113, allocations: 2.812 kB / 0.8657 GB, free: 25.98 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.7116, allocations: 61.02 kB / 0.8657 GB, free: 25.9 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.7118, allocations: 0.6882 MB / 0.8664 GB, free: 25.18 MB / 0.5575 GB Notification: Performance of SimCode: time 2.6e-07/0.7118, allocations: 4 kB / 0.8664 GB, free: 25.18 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatRadiation_Examples_HeatRadiationParallelSurfaces.fmu > BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe 2>&1)