Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.Examples.GlobalPerezTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 183.4 kB / 7.803 MB, free: 136 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4816/0.4816, allocations: 90.85 MB / 99.07 MB, free: 3.32 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.4 MB / 342.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009671/0.000967, allocations: 98.75 kB / 415.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1829/0.1839, allocations: 78.45 MB / 494 MB, free: 12.26 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.5921, allocations: 72.3 MB / 0.553 GB, free: 74.16 MB / 446.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.789/4.382, allocations: 1.688 GB / 2.241 GB, free: 143.7 MB / 0.6075 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/4.382, allocations: 83.95 kB / 2.241 GB, free: 143.6 MB / 0.6075 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.294/4.676, allocations: 121.9 MB / 2.361 GB, free: 21.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/4.676, allocations: 11.98 kB / 2.361 GB, free: 21.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/4.691, allocations: 2.181 MB / 2.363 GB, free: 19.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003922/4.695, allocations: 1.336 MB / 2.364 GB, free: 17.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.535e-05/4.695, allocations: 80 kB / 2.364 GB, free: 17.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004439/4.695, allocations: 140 kB / 2.364 GB, free: 17.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006463/4.702, allocations: 3.411 MB / 2.368 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004859/4.707, allocations: 2.703 MB / 2.37 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/4.707, allocations: 3.938 kB / 2.37 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/4.707, allocations: 4 kB / 2.37 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/4.707, allocations: 68 kB / 2.37 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01928/4.726, allocations: 9.33 MB / 2.379 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3095/5.036, allocations: 2.176 MB / 2.381 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/5.039, allocations: 1.18 MB / 2.383 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008585/5.04, allocations: 0.5199 MB / 2.383 GB, free: 219.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002595/5.042, allocations: 1.452 MB / 2.385 GB, free: 219.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=222): time 4.959e-06/5.042, allocations: 0 / 2.385 GB, free: 219.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=222): time 0.006744/5.049, allocations: 2.613 MB / 2.387 GB, free: 219.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/5.049, allocations: 258.5 kB / 2.387 GB, free: 218.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/5.051, allocations: 0.7784 MB / 2.388 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002208/5.051, allocations: 30.73 kB / 2.388 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007494/5.052, allocations: 0.696 MB / 2.389 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006951/5.052, allocations: 0.6852 MB / 2.389 GB, free: 218 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/5.052, allocations: 0 / 2.389 GB, free: 218 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001481/5.053, allocations: 380.9 kB / 2.39 GB, free: 217.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/5.054, allocations: 0.9424 MB / 2.391 GB, free: 217.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/5.056, allocations: 1.119 MB / 2.392 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/5.059, allocations: 1.225 MB / 2.393 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/5.059, allocations: 0 / 2.393 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006668/5.065, allocations: 2.69 MB / 2.396 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/5.065, allocations: 8.812 kB / 2.396 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/5.065, allocations: 0 / 2.396 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006743/5.066, allocations: 91.86 kB / 2.396 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/5.07, allocations: 0.6386 MB / 2.396 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/5.072, allocations: 1.459 MB / 2.398 GB, free: 216.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/5.076, allocations: 318 kB / 2.398 GB, free: 216.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/5.076, allocations: 101.9 kB / 2.398 GB, free: 216.2 MB / 0.6075 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.0005371/5.077, allocations: 135.1 kB / 2.398 GB, free: 216 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/5.077, allocations: 151.7 kB / 2.398 GB, free: 216 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009626/5.087, allocations: 3.413 MB / 2.402 GB, free: 215.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/5.087, allocations: 20.41 kB / 2.402 GB, free: 215.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/5.087, allocations: 3.844 kB / 2.402 GB, free: 215.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/5.087, allocations: 15.31 kB / 2.402 GB, free: 215.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/5.102, allocations: 6.055 MB / 2.408 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/5.102, allocations: 0 / 2.408 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004373/5.106, allocations: 0.6108 MB / 2.408 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006774/5.107, allocations: 84.94 kB / 2.408 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004184/5.107, allocations: 51.12 kB / 2.408 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/5.11, allocations: 1.488 MB / 2.41 GB, free: 214.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/5.11, allocations: 0 / 2.41 GB, free: 214.2 MB / 0.6075 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007419/5.117, allocations: 2.785 MB / 2.413 GB, free: 213.9 MB / 0.6075 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007383/5.125, allocations: 3.207 MB / 2.416 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/5.127, allocations: 0.6524 MB / 2.416 GB, free: 213.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008634/5.128, allocations: 3.844 kB / 2.416 GB, free: 213.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003793/5.132, allocations: 256.2 kB / 2.417 GB, free: 213.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/5.132, allocations: 123.1 kB / 2.417 GB, free: 213.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003994/5.132, allocations: 95.11 kB / 2.417 GB, free: 213.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 0.001674/5.134, allocations: 0.6601 MB / 2.418 GB, free: 212.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004194/5.138, allocations: 0.7671 MB / 2.418 GB, free: 212.9 MB / 0.6075 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.002643/5.141, allocations: 1.082 MB / 2.419 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005346/5.146, allocations: 2.496 MB / 2.422 GB, free: 212.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/5.146, allocations: 1.5 kB / 2.422 GB, free: 212.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/5.149, allocations: 1.44 MB / 2.423 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/5.152, allocations: 244.9 kB / 2.423 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/5.164, allocations: 3.426 MB / 2.427 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004921/5.169, allocations: 1.849 MB / 2.429 GB, free: 211.1 MB / 0.6075 GB Notification: Performance of SimCode: time 2.324e-06/5.169, allocations: 0 / 2.429 GB, free: 211.1 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)