Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.00157/0.00157, allocations: 190.1 kB / 7.805 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.4679/0.4679, allocations: 90.85 MB / 99.08 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.312/1.312, allocations: 221.4 MB / 342.8 MB, free: 5.27 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.00112/0.00112, allocations: 94.36 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1955/0.1967, allocations: 78.44 MB / 493.9 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.6534, allocations: 72.31 MB / 0.553 GB, free: 73.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.486/4.14, allocations: 1.685 GB / 2.238 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/4.14, allocations: 87.95 kB / 2.238 GB, free: 141.7 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.2043/4.344, allocations: 96.24 MB / 2.332 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/4.344, allocations: 13.69 kB / 2.332 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/4.345, allocations: 261.8 kB / 2.332 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/4.346, allocations: 0.7754 MB / 2.333 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/4.346, allocations: 44 kB / 2.333 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/4.347, allocations: 80 kB / 2.333 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001929/4.349, allocations: 1.38 MB / 2.334 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/4.35, allocations: 1.185 MB / 2.336 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/4.35, allocations: 3.938 kB / 2.336 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-05/4.35, allocations: 0 / 2.336 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/4.35, allocations: 39.94 kB / 2.336 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/4.356, allocations: 3.94 MB / 2.34 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/4.357, allocations: 0.8659 MB / 2.34 GB, free: 36.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/4.357, allocations: 354.4 kB / 2.341 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.354e-05/4.358, allocations: 48.92 kB / 2.341 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006539/4.358, allocations: 0.5105 MB / 2.341 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 2.845e-06/4.358, allocations: 0 / 2.341 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104): time 0.001953/4.36, allocations: 0.8974 MB / 2.342 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/4.36, allocations: 252.2 kB / 2.342 GB, free: 34.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006747/4.361, allocations: 0.5819 MB / 2.343 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/4.361, allocations: 29.7 kB / 2.343 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/4.361, allocations: 483.4 kB / 2.343 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/4.362, allocations: 331 kB / 2.344 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/4.362, allocations: 4 kB / 2.344 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001186/4.362, allocations: 394.6 kB / 2.344 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/4.362, allocations: 301.9 kB / 2.344 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/4.363, allocations: 417.5 kB / 2.345 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/4.363, allocations: 378.8 kB / 2.345 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.788e-06/4.363, allocations: 0 / 2.345 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001886/4.365, allocations: 0.96 MB / 2.346 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/4.365, allocations: 6.031 kB / 2.346 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/4.365, allocations: 0 / 2.346 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/4.366, allocations: 84.84 kB / 2.346 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009209/4.367, allocations: 215.7 kB / 2.346 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/4.369, allocations: 1.461 MB / 2.348 GB, free: 28.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/4.369, allocations: 87.2 kB / 2.348 GB, free: 28.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.134e-05/4.369, allocations: 47.95 kB / 2.348 GB, free: 28.46 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 (116): * Single equations (assignments): 115 * 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.0001848/4.37, allocations: 113 kB / 2.348 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/4.37, allocations: 94.86 kB / 2.348 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/4.373, allocations: 1.311 MB / 2.349 GB, free: 26.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/4.373, allocations: 12.94 kB / 2.349 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/4.373, allocations: 3.906 kB / 2.349 GB, free: 26.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/4.373, allocations: 3.984 kB / 2.349 GB, free: 26.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/4.376, allocations: 2.355 MB / 2.352 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/4.376, allocations: 0 / 2.352 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008152/4.377, allocations: 207.6 kB / 2.352 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/4.378, allocations: 80.78 kB / 2.352 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/4.378, allocations: 15.98 kB / 2.352 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/4.379, allocations: 1.488 MB / 2.353 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/4.379, allocations: 0 / 2.353 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001775/4.381, allocations: 1.045 MB / 2.355 GB, free: 21.54 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00183/4.383, allocations: 1.482 MB / 2.356 GB, free: 20.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/4.383, allocations: 351.3 kB / 2.356 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/4.384, allocations: 0 / 2.356 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/4.384, allocations: 63.94 kB / 2.356 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/4.384, allocations: 65.03 kB / 2.356 GB, free: 19.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.813e-05/4.384, allocations: 40.72 kB / 2.356 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005645/4.385, allocations: 0.4991 MB / 2.357 GB, free: 19.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00202/4.387, allocations: 0.51 MB / 2.357 GB, free: 18.5 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 (115): * Single equations (assignments): 112 * 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.001826/4.389, allocations: 1.05 MB / 2.358 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001535/4.39, allocations: 0.9009 MB / 2.359 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/4.39, allocations: 4 kB / 2.359 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007737/4.391, allocations: 0.5638 MB / 2.36 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/4.392, allocations: 221.2 kB / 2.36 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/4.397, allocations: 1.822 MB / 2.362 GB, free: 14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000952/4.398, allocations: 1.332 MB / 2.363 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/4.398, allocations: 0 / 2.363 GB, free: 12.64 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)