Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",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.869/1.869, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001021/0.001021, allocations: 173.3 kB / 487 MB, free: 5.406 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.178/1.178, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0008556/0.0008556, allocations: 98.81 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4199/0.4208, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.6079, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.608/3.216, allocations: 1.735 GB / 2.94 GB, free: 119.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/3.216, allocations: 86.23 kB / 2.94 GB, free: 119.2 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: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.7244/3.941, allocations: 121.9 MB / 3.059 GB, free: 375.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/3.941, allocations: 8.906 kB / 3.059 GB, free: 375.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/3.956, allocations: 2.176 MB / 3.062 GB, free: 375 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/3.958, allocations: 1.334 MB / 3.063 GB, free: 374.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/3.958, allocations: 84.47 kB / 3.063 GB, free: 374.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004258/3.958, allocations: 137.3 kB / 3.063 GB, free: 374.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005946/3.964, allocations: 3.413 MB / 3.066 GB, free: 374.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/3.969, allocations: 2.698 MB / 3.069 GB, free: 374.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/3.969, allocations: 0 / 3.069 GB, free: 374.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003246/3.969, allocations: 2.062 kB / 3.069 GB, free: 374.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/3.969, allocations: 64.12 kB / 3.069 GB, free: 374.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/3.987, allocations: 9.346 MB / 3.078 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/3.99, allocations: 2.178 MB / 3.08 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/3.992, allocations: 1.18 MB / 3.082 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000844/3.993, allocations: 0.5142 MB / 3.082 GB, free: 371.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/3.995, allocations: 1.455 MB / 3.083 GB, free: 371.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.527e-06/3.995, allocations: 0 / 3.083 GB, free: 371.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=222): time 0.005618/4.001, allocations: 2.613 MB / 3.086 GB, free: 371.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/4.001, allocations: 256.6 kB / 3.086 GB, free: 371.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009579/4.002, allocations: 0.7783 MB / 3.087 GB, free: 371.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000197/4.002, allocations: 31.17 kB / 3.087 GB, free: 371.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/4.003, allocations: 0.6977 MB / 3.088 GB, free: 370.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/4.003, allocations: 0.6902 MB / 3.088 GB, free: 370.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/4.003, allocations: 0 / 3.088 GB, free: 370.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.756e-05/4.004, allocations: 378.7 kB / 3.089 GB, free: 369.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/4.005, allocations: 0.9372 MB / 3.09 GB, free: 369.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/4.007, allocations: 1.12 MB / 3.091 GB, free: 369.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/4.009, allocations: 1.228 MB / 3.092 GB, free: 369.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/4.009, allocations: 3.062 kB / 3.092 GB, free: 369.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005543/4.015, allocations: 2.689 MB / 3.095 GB, free: 368.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/4.015, allocations: 7.281 kB / 3.095 GB, free: 368.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/4.015, allocations: 0 / 3.095 GB, free: 368.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/4.016, allocations: 89.42 kB / 3.095 GB, free: 368.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004577/4.02, allocations: 0.633 MB / 3.095 GB, free: 368.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/4.022, allocations: 1.465 MB / 3.097 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/4.025, allocations: 324.7 kB / 3.097 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/4.025, allocations: 100.3 kB / 3.097 GB, free: 367.4 MB / 1.151 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 (239): * Single equations (assignments): 238 * 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.0004206/4.026, allocations: 135.5 kB / 3.097 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/4.026, allocations: 151.4 kB / 3.097 GB, free: 367.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00845/4.035, allocations: 3.405 MB / 3.101 GB, free: 366 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/4.035, allocations: 28.22 kB / 3.101 GB, free: 366 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/4.035, allocations: 2.5 kB / 3.101 GB, free: 366 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/4.035, allocations: 14.64 kB / 3.101 GB, free: 366 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/4.045, allocations: 6.044 MB / 3.107 GB, free: 363.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/4.045, allocations: 1.875 kB / 3.107 GB, free: 363.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004028/4.049, allocations: 0.607 MB / 3.107 GB, free: 363.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/4.05, allocations: 86.86 kB / 3.107 GB, free: 363.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/4.05, allocations: 54.98 kB / 3.107 GB, free: 363.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/4.052, allocations: 1.473 MB / 3.109 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/4.052, allocations: 3.906 kB / 3.109 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005718/4.057, allocations: 2.794 MB / 3.112 GB, free: 360.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005965/4.063, allocations: 3.206 MB / 3.115 GB, free: 359.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/4.065, allocations: 0.6589 MB / 3.115 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/4.065, allocations: 5.656 kB / 3.115 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/4.068, allocations: 248.6 kB / 3.116 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/4.069, allocations: 121.8 kB / 3.116 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/4.069, allocations: 90.17 kB / 3.116 GB, free: 358.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009531/4.07, allocations: 0.6646 MB / 3.116 GB, free: 358.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003135/4.073, allocations: 0.7734 MB / 3.117 GB, free: 358 MB / 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 (240): * Single equations (assignments): 237 * 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.001969/4.075, allocations: 1.09 MB / 3.118 GB, free: 357.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004691/4.08, allocations: 2.495 MB / 3.121 GB, free: 356.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/4.08, allocations: 1.531 kB / 3.121 GB, free: 356.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/4.082, allocations: 1.439 MB / 3.122 GB, free: 356 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/4.084, allocations: 237.1 kB / 3.122 GB, free: 355.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009505/4.093, allocations: 3.42 MB / 3.126 GB, free: 354.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002974/4.096, allocations: 1.848 MB / 3.127 GB, free: 353.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.715e-06/4.096, allocations: 4 kB / 3.127 GB, free: 353.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat does not exist to compare? outputFormat=mat