Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_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.002207/0.002207, allocations: 181 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6845/0.6845, allocations: 133.5 MB / 141.3 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 395 MB, free: 10.1 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 109.4 kB / 477.8 MB, free: 10.65 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5494/0.5506, allocations: 88.43 MB / 0.5529 GB, free: 89.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.7779, allocations: 82.3 MB / 0.6333 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.182/5.96, allocations: 1.693 GB / 2.327 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005398/5.961, allocations: 94.02 kB / 2.327 GB, free: 239.5 MB / 0.6823 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.1642/6.125, allocations: 70.03 MB / 2.395 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/6.125, allocations: 19.92 kB / 2.395 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/6.126, allocations: 222.4 kB / 2.395 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009301/6.127, allocations: 0.627 MB / 2.396 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/6.127, allocations: 28 kB / 2.396 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.112e-05/6.127, allocations: 48 kB / 2.396 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001396/6.129, allocations: 1.027 MB / 2.397 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/6.13, allocations: 0.7848 MB / 2.398 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/6.13, allocations: 0 / 2.398 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/6.13, allocations: 4 kB / 2.398 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/6.13, allocations: 20 kB / 2.398 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/6.134, allocations: 2.355 MB / 2.4 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/6.135, allocations: 0.7909 MB / 2.401 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/6.136, allocations: 246.8 kB / 2.401 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/6.136, allocations: 32.61 kB / 2.401 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005093/6.136, allocations: 378.1 kB / 2.402 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.717e-06/6.136, allocations: 0 / 2.402 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001621/6.138, allocations: 0.6326 MB / 2.402 GB, free: 172 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/6.138, allocations: 248 kB / 2.402 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/6.139, allocations: 0.4982 MB / 2.403 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/6.139, allocations: 25.7 kB / 2.403 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/6.139, allocations: 324 kB / 2.403 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/6.139, allocations: 228.5 kB / 2.403 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/6.139, allocations: 0 / 2.403 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001206/6.139, allocations: 374.7 kB / 2.404 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/6.14, allocations: 193.3 kB / 2.404 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/6.14, allocations: 294.4 kB / 2.404 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/6.14, allocations: 235 kB / 2.404 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/6.14, allocations: 4 kB / 2.404 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001403/6.142, allocations: 0.6443 MB / 2.405 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/6.142, allocations: 4 kB / 2.405 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/6.142, allocations: 4.062 kB / 2.405 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/6.142, allocations: 84.77 kB / 2.405 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/6.143, allocations: 147.8 kB / 2.405 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/6.145, allocations: 1.449 MB / 2.407 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/6.146, allocations: 63.61 kB / 2.407 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/6.146, allocations: 31.95 kB / 2.407 GB, free: 167 MB / 0.6823 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.0001751/6.146, allocations: 122.5 kB / 2.407 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/6.146, allocations: 79.03 kB / 2.407 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/6.148, allocations: 0.9204 MB / 2.408 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/6.148, allocations: 11.94 kB / 2.408 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/6.148, allocations: 0 / 2.408 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/6.148, allocations: 3.984 kB / 2.408 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/6.151, allocations: 1.716 MB / 2.41 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/6.151, allocations: 0 / 2.41 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/6.151, allocations: 147.8 kB / 2.41 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/6.152, allocations: 80.78 kB / 2.41 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/6.152, allocations: 15.98 kB / 2.41 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/6.153, allocations: 1.488 MB / 2.411 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/6.153, allocations: 4 kB / 2.411 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001504/6.155, allocations: 0.809 MB / 2.412 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001508/6.157, allocations: 1.231 MB / 2.413 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/6.157, allocations: 275.8 kB / 2.414 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/6.157, allocations: 4 kB / 2.414 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/6.158, allocations: 59.94 kB / 2.414 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/6.158, allocations: 52.7 kB / 2.414 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/6.158, allocations: 27.98 kB / 2.414 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004622/6.158, allocations: 410.8 kB / 2.414 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001837/6.16, allocations: 422.9 kB / 2.414 GB, free: 158.9 MB / 0.6823 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.001902/6.162, allocations: 1.045 MB / 2.416 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001227/6.163, allocations: 0.6546 MB / 2.416 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/6.163, allocations: 0 / 2.416 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006006/6.164, allocations: 448.6 kB / 2.417 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/6.165, allocations: 213.5 kB / 2.417 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/6.169, allocations: 1.378 MB / 2.418 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006857/6.17, allocations: 1.138 MB / 2.419 GB, free: 154 MB / 0.6823 GB Notification: Performance of SimCode: time 7.12e-07/6.17, allocations: 4 kB / 2.419 GB, free: 154 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)