Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 289.8 MB / 297.1 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001942/0.001942, allocations: 185.3 kB / 366.3 MB, free: 1.926 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 0.6256 GB, free: 7.41 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009093/0.0009093, allocations: 90.88 kB / 0.7396 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2752/0.2761, allocations: 122.4 MB / 0.8591 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.8837, allocations: 116.3 MB / 0.9726 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/1.062, allocations: 139.3 MB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.063, allocations: 75.95 kB / 1.109 GB, free: 10.99 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.008987/1.072, allocations: 2.812 MB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.072, allocations: 8.938 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/1.072, allocations: 16.81 kB / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/1.072, allocations: 202.8 kB / 1.112 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/1.072, allocations: 4 kB / 1.112 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/1.072, allocations: 4 kB / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.035e-05/1.072, allocations: 32 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/1.072, allocations: 56.56 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.072, allocations: 0 / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.072, allocations: 3.984 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/1.073, allocations: 4 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/1.073, allocations: 461.4 kB / 1.112 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/1.073, allocations: 147.7 kB / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/1.073, allocations: 22.86 kB / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/1.073, allocations: 0 / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/1.074, allocations: 38.56 kB / 1.112 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/1.074, allocations: 0 / 1.112 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003024/1.074, allocations: 78.47 kB / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.074, allocations: 51.41 kB / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/1.074, allocations: 132 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/1.074, allocations: 29.7 kB / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/1.074, allocations: 104 kB / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/1.074, allocations: 11.81 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/1.074, allocations: 0 / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.074, allocations: 322.8 kB / 1.113 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/1.074, allocations: 8 kB / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/1.074, allocations: 34.58 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/1.074, allocations: 11.98 kB / 1.113 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.074, allocations: 8.844 kB / 1.113 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000201/1.075, allocations: 90.41 kB / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.075, allocations: 4 kB / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.075, allocations: 3.938 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/1.075, allocations: 24.84 kB / 1.113 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.153e-05/1.075, allocations: 4 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/1.076, allocations: 1.249 MB / 1.115 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/1.076, allocations: 7.969 kB / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/1.076, allocations: 4.156 kB / 1.115 GB, free: 4.711 MB / 0.7136 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 (5): * Single equations (assignments): 4 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.224e-05/1.076, allocations: 112.9 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/1.076, allocations: 13.12 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/1.076, allocations: 10.69 kB / 1.115 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.076, allocations: 4 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.076, allocations: 0 / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.076, allocations: 48 / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/1.077, allocations: 327.9 kB / 1.115 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.077, allocations: 0 / 1.115 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/1.077, allocations: 4 kB / 1.115 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.706e-05/1.077, allocations: 24.84 kB / 1.115 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/1.077, allocations: 0 / 1.115 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/1.078, allocations: 1.244 MB / 1.116 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.078, allocations: 3.984 kB / 1.116 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002507/1.078, allocations: 178.9 kB / 1.116 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003544/1.079, allocations: 0.5474 MB / 1.117 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/1.079, allocations: 85.58 kB / 1.117 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/1.079, allocations: 4 kB / 1.117 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/1.079, allocations: 4 kB / 1.117 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/1.079, allocations: 3.906 kB / 1.117 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/1.079, allocations: 0 / 1.117 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.538e-05/1.079, allocations: 107.3 kB / 1.117 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008351/1.08, allocations: 25.41 kB / 1.117 GB, free: 1.805 MB / 0.7136 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): 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001347/1.08, allocations: 99.19 kB / 1.117 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004058/1.08, allocations: 145.8 kB / 1.117 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.08, allocations: 0 / 1.117 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/1.081, allocations: 125.6 kB / 1.118 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/1.081, allocations: 20.77 kB / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/1.081, allocations: 116 kB / 1.118 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/1.082, allocations: 0.7071 MB / 1.118 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of SimCode: time 7.32e-07/1.082, allocations: 0 / 1.118 GB, free: 0.5195 MB / 0.7136 GB (rm -f Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_8_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1)