Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.001035/0.001035, allocations: 185.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4517/0.4517, allocations: 90.84 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.4 MB / 342.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009378/0.0009379, allocations: 94.28 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1732/0.1742, allocations: 78.45 MB / 494 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.5865, allocations: 72.3 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.382/3.969, allocations: 1.684 GB / 2.237 GB, free: 129 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/3.969, allocations: 91.94 kB / 2.237 GB, free: 128.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.1469/4.116, allocations: 70.06 MB / 2.305 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/4.116, allocations: 8 kB / 2.305 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/4.117, allocations: 230.1 kB / 2.306 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/4.118, allocations: 0.627 MB / 2.306 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/4.118, allocations: 32 kB / 2.306 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/4.119, allocations: 51.91 kB / 2.306 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001492/4.12, allocations: 1.026 MB / 2.307 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/4.121, allocations: 0.7732 MB / 2.308 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/4.121, allocations: 7.922 kB / 2.308 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/4.121, allocations: 0 / 2.308 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/4.121, allocations: 24 kB / 2.308 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/4.125, allocations: 2.34 MB / 2.31 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/4.127, allocations: 0.7869 MB / 2.311 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/4.127, allocations: 246.8 kB / 2.311 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.484e-05/4.127, allocations: 28.69 kB / 2.311 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004997/4.128, allocations: 382.1 kB / 2.312 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.825e-06/4.128, allocations: 0 / 2.312 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.00161/4.13, allocations: 0.6442 MB / 2.312 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/4.13, allocations: 240 kB / 2.313 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/4.13, allocations: 0.4905 MB / 2.313 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/4.13, allocations: 29.7 kB / 2.313 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/4.131, allocations: 320 kB / 2.313 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/4.131, allocations: 240.4 kB / 2.314 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/4.131, allocations: 3.938 kB / 2.314 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001013/4.131, allocations: 378.8 kB / 2.314 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/4.131, allocations: 185.3 kB / 2.314 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/4.132, allocations: 294.4 kB / 2.314 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/4.132, allocations: 239 kB / 2.315 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/4.132, allocations: 0 / 2.315 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001444/4.133, allocations: 0.6521 MB / 2.315 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/4.133, allocations: 4 kB / 2.315 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/4.133, allocations: 0 / 2.315 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/4.134, allocations: 80.84 kB / 2.315 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/4.135, allocations: 143.8 kB / 2.315 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/4.137, allocations: 1.445 MB / 2.317 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/4.137, allocations: 79.53 kB / 2.317 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/4.137, allocations: 27.98 kB / 2.317 GB, free: 46.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (75): * Single equations (assignments): 74 * 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.0002015/4.138, allocations: 116.8 kB / 2.317 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/4.138, allocations: 68.56 kB / 2.317 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/4.14, allocations: 0.9229 MB / 2.318 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/4.14, allocations: 8 kB / 2.318 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/4.14, allocations: 0 / 2.318 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/4.14, allocations: 3.984 kB / 2.318 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/4.143, allocations: 1.705 MB / 2.32 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/4.143, allocations: 0 / 2.32 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/4.144, allocations: 151.8 kB / 2.32 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/4.144, allocations: 88.7 kB / 2.32 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/4.144, allocations: 15.98 kB / 2.32 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/4.146, allocations: 1.469 MB / 2.321 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/4.146, allocations: 0 / 2.321 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001471/4.147, allocations: 0.8244 MB / 2.322 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001609/4.149, allocations: 1.223 MB / 2.323 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/4.149, allocations: 271.8 kB / 2.324 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/4.149, allocations: 14.25 kB / 2.324 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/4.15, allocations: 67.94 kB / 2.324 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/4.15, allocations: 44.7 kB / 2.324 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.945e-05/4.15, allocations: 35.97 kB / 2.324 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005175/4.151, allocations: 402.9 kB / 2.324 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002022/4.153, allocations: 426.8 kB / 2.325 GB, free: 38.25 MB / 0.6042 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 (85): * Single equations (assignments): 82 * 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.002121/4.155, allocations: 1.046 MB / 2.326 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001179/4.156, allocations: 0.6468 MB / 2.326 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/4.156, allocations: 128 / 2.326 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006562/4.157, allocations: 448.5 kB / 2.327 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009905/4.158, allocations: 205.5 kB / 2.327 GB, free: 36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/4.162, allocations: 1.382 MB / 2.328 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000848/4.163, allocations: 1.135 MB / 2.329 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/4.163, allocations: 0 / 2.329 GB, free: 33.42 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)