Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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 9.1.1-maint.9.1.x/package.mo): time 1.826/1.826, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 196.4 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 221.3 MB / 0.7819 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 93.55 kB / 0.9213 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4126/0.4134, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.6012, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.694/3.296, allocations: 1.732 GB / 2.938 GB, free: 101.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/3.296, allocations: 86.7 kB / 2.938 GB, free: 101.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.1745/3.47, allocations: 85.87 MB / 3.022 GB, free: 20.12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/3.47, allocations: 8 kB / 3.022 GB, free: 20.12 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/3.471, allocations: 242 kB / 3.022 GB, free: 19.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/3.473, allocations: 0.7521 MB / 3.023 GB, free: 19.08 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/3.473, allocations: 80.19 kB / 3.023 GB, free: 19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/3.473, allocations: 72 kB / 3.023 GB, free: 18.93 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002039/3.475, allocations: 1.266 MB / 3.024 GB, free: 17.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/3.477, allocations: 1.062 MB / 3.025 GB, free: 16.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/3.477, allocations: 0 / 3.025 GB, free: 16.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/3.477, allocations: 7.922 kB / 3.025 GB, free: 16.53 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/3.477, allocations: 32 kB / 3.025 GB, free: 16.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005891/3.483, allocations: 3.562 MB / 3.029 GB, free: 12.82 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/3.484, allocations: 0.799 MB / 3.029 GB, free: 12.01 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/3.485, allocations: 327.1 kB / 3.03 GB, free: 11.69 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/3.485, allocations: 44.69 kB / 3.03 GB, free: 11.64 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006417/3.486, allocations: 495.8 kB / 3.03 GB, free: 11.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 3.496e-06/3.486, allocations: 0 / 3.03 GB, free: 11.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.00175/3.487, allocations: 0.8264 MB / 3.031 GB, free: 10.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/3.487, allocations: 244.1 kB / 3.031 GB, free: 10.01 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/3.488, allocations: 0.5817 MB / 3.032 GB, free: 9.422 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/3.488, allocations: 25.7 kB / 3.032 GB, free: 9.391 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/3.488, allocations: 431.7 kB / 3.032 GB, free: 8.961 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/3.489, allocations: 291.6 kB / 3.033 GB, free: 8.672 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/3.489, allocations: 0 / 3.033 GB, free: 8.672 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/3.489, allocations: 394.7 kB / 3.033 GB, free: 8.277 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/3.489, allocations: 277.9 kB / 3.033 GB, free: 8.008 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/3.49, allocations: 390.3 kB / 3.034 GB, free: 7.59 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/3.49, allocations: 338.8 kB / 3.034 GB, free: 7.258 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/3.49, allocations: 0 / 3.034 GB, free: 7.258 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001709/3.492, allocations: 0.8781 MB / 3.035 GB, free: 6.371 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/3.492, allocations: 4 kB / 3.035 GB, free: 6.367 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/3.492, allocations: 7.906 kB / 3.035 GB, free: 6.359 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/3.493, allocations: 88.77 kB / 3.035 GB, free: 6.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/3.493, allocations: 183.8 kB / 3.035 GB, free: 6.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/3.495, allocations: 1.472 MB / 3.036 GB, free: 4.492 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/3.496, allocations: 75.45 kB / 3.037 GB, free: 4.418 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/3.496, allocations: 35.97 kB / 3.037 GB, free: 4.383 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0001881/3.496, allocations: 120.7 kB / 3.037 GB, free: 4.258 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/3.496, allocations: 86.97 kB / 3.037 GB, free: 4.172 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/3.499, allocations: 1.198 MB / 3.038 GB, free: 2.961 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/3.499, allocations: 12 kB / 3.038 GB, free: 2.949 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/3.499, allocations: 3.906 kB / 3.038 GB, free: 2.945 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/3.499, allocations: 7.969 kB / 3.038 GB, free: 2.938 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/3.503, allocations: 2.208 MB / 3.04 GB, free: 0.6797 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/3.503, allocations: 0 / 3.04 GB, free: 0.6797 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000744/3.503, allocations: 183.8 kB / 3.04 GB, free: 0.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/3.504, allocations: 88.72 kB / 3.04 GB, free: 420 kB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/3.504, allocations: 19.98 kB / 3.04 GB, free: 400 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3289/3.833, allocations: 1.481 MB / 3.042 GB, free: 0.5125 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/3.833, allocations: 2.188 kB / 3.042 GB, free: 0.5125 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001976/3.835, allocations: 1.002 MB / 3.043 GB, free: 0.5124 GB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001849/3.837, allocations: 1.421 MB / 3.044 GB, free: 0.5118 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/3.837, allocations: 346.1 kB / 3.045 GB, free: 0.5117 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/3.838, allocations: 3.406 kB / 3.045 GB, free: 0.5117 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000788/3.838, allocations: 59.67 kB / 3.045 GB, free: 0.5117 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/3.839, allocations: 71.56 kB / 3.045 GB, free: 0.5117 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.583e-05/3.839, allocations: 38.52 kB / 3.045 GB, free: 0.5117 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005942/3.839, allocations: 492 kB / 3.045 GB, free: 0.5116 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001908/3.841, allocations: 482.4 kB / 3.046 GB, free: 0.5116 GB / 1.151 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 (107): * Single equations (assignments): 104 * 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.001661/3.843, allocations: 1.065 MB / 3.047 GB, free: 0.5115 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001268/3.844, allocations: 0.8323 MB / 3.047 GB, free: 0.5114 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/3.844, allocations: 3.562 kB / 3.047 GB, free: 0.5114 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007244/3.845, allocations: 0.5331 MB / 3.048 GB, free: 0.5113 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/3.846, allocations: 222.1 kB / 3.048 GB, free: 0.5113 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/3.85, allocations: 1.709 MB / 3.05 GB, free: 0.5109 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008935/3.851, allocations: 1.278 MB / 3.051 GB, free: 0.5102 GB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/3.851, allocations: 0 / 3.051 GB, free: 0.5102 GB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat does not exist to compare? outputFormat=mat