Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001447, allocations: 190.1 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4736/0.4736, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.331/1.331, allocations: 221.4 MB / 342.8 MB, free: 5.418 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.0009059/0.0009061, allocations: 90.66 kB / 415.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1822/0.1832, allocations: 78.45 MB / 494 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.6211, allocations: 72.3 MB / 0.553 GB, free: 43.52 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.894/4.515, allocations: 1.686 GB / 2.239 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/4.516, allocations: 88.7 kB / 2.239 GB, free: 114.5 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.1909/4.706, allocations: 85.89 MB / 2.323 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/4.707, allocations: 11.94 kB / 2.323 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/4.708, allocations: 242 kB / 2.323 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/4.71, allocations: 0.7445 MB / 2.324 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/4.71, allocations: 88.06 kB / 2.324 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/4.71, allocations: 72 kB / 2.324 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002055/4.712, allocations: 1.27 MB / 2.325 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/4.714, allocations: 1.062 MB / 2.326 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/4.714, allocations: 0 / 2.326 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/4.714, allocations: 0 / 2.326 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/4.714, allocations: 32 kB / 2.326 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/4.719, allocations: 3.551 MB / 2.33 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/4.72, allocations: 0.8024 MB / 2.33 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/4.721, allocations: 327.2 kB / 2.331 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-05/4.721, allocations: 44.69 kB / 2.331 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006135/4.721, allocations: 487.7 kB / 2.331 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=93): time 3.136e-06/4.721, allocations: 0 / 2.331 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93): time 0.001817/4.723, allocations: 0.8304 MB / 2.332 GB, free: 18.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/4.723, allocations: 244.1 kB / 2.332 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/4.724, allocations: 0.5778 MB / 2.333 GB, free: 17.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/4.724, allocations: 33.7 kB / 2.333 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/4.724, allocations: 431.6 kB / 2.333 GB, free: 17.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/4.725, allocations: 295.5 kB / 2.334 GB, free: 16.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/4.725, allocations: 4 kB / 2.334 GB, free: 16.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/4.725, allocations: 386.8 kB / 2.334 GB, free: 16.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/4.725, allocations: 273.9 kB / 2.334 GB, free: 16.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/4.726, allocations: 386.4 kB / 2.335 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/4.726, allocations: 342.8 kB / 2.335 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/4.726, allocations: 0 / 2.335 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0017/4.728, allocations: 0.8819 MB / 2.336 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/4.728, allocations: 4 kB / 2.336 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/4.728, allocations: 4 kB / 2.336 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/4.728, allocations: 80.84 kB / 2.336 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/4.729, allocations: 183.8 kB / 2.336 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/4.731, allocations: 1.468 MB / 2.338 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/4.732, allocations: 79.31 kB / 2.338 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/4.732, allocations: 43.97 kB / 2.338 GB, free: 12.58 MB / 0.6042 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.0001912/4.732, allocations: 117 kB / 2.338 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/4.732, allocations: 94.86 kB / 2.338 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/4.735, allocations: 1.197 MB / 2.339 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/4.735, allocations: 12 kB / 2.339 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/4.735, allocations: 0 / 2.339 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/4.735, allocations: 7.922 kB / 2.339 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/4.738, allocations: 2.217 MB / 2.341 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/4.738, allocations: 0 / 2.341 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/4.739, allocations: 187.7 kB / 2.341 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005174/4.74, allocations: 88.77 kB / 2.341 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/4.74, allocations: 15.98 kB / 2.341 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/4.741, allocations: 1.48 MB / 2.343 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/4.741, allocations: 4 kB / 2.343 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001854/4.743, allocations: 0.9979 MB / 2.344 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001888/4.745, allocations: 1.42 MB / 2.345 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/4.746, allocations: 343.4 kB / 2.346 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/4.746, allocations: 0 / 2.346 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000797/4.747, allocations: 64 kB / 2.346 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/4.747, allocations: 72.83 kB / 2.346 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-05/4.747, allocations: 39.98 kB / 2.346 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005547/4.747, allocations: 491.1 kB / 2.346 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001933/4.749, allocations: 490.5 kB / 2.347 GB, free: 3.027 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 (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.001547/4.751, allocations: 1.049 MB / 2.348 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001465/4.752, allocations: 0.8344 MB / 2.349 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/4.752, allocations: 8.188 kB / 2.349 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007255/4.753, allocations: 0.5287 MB / 2.349 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/4.754, allocations: 209.5 kB / 2.349 GB, free: 452 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2514/5.006, allocations: 1.715 MB / 2.351 GB, free: 231 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009432/5.007, allocations: 1.281 MB / 2.352 GB, free: 230.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/5.007, allocations: 3.312 kB / 2.352 GB, free: 230.3 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)