Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8003/0.8003, allocations: 141.8 MB / 149.1 MB, free: 3.887 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 183.9 kB / 181.9 MB, free: 15.62 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.4 MB / 436 MB, free: 8.746 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 103.5 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.00178, allocations: 285.8 kB / 0.5884 GB, free: 11.81 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2113/0.2131, allocations: 89.65 MB / 0.676 GB, free: 2.074 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.7511, allocations: 82.75 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.883/4.634, allocations: 1.693 GB / 2.45 GB, free: 74.94 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/4.635, allocations: 93.31 kB / 2.45 GB, free: 74.89 MB / 0.6982 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.6203/5.255, allocations: 85.89 MB / 2.534 GB, free: 230.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/5.255, allocations: 7.688 kB / 2.534 GB, free: 230.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/5.256, allocations: 242.3 kB / 2.534 GB, free: 230.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/5.258, allocations: 0.7401 MB / 2.535 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/5.258, allocations: 85.47 kB / 2.535 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/5.258, allocations: 69.91 kB / 2.535 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002163/5.26, allocations: 1.273 MB / 2.536 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/5.262, allocations: 1.058 MB / 2.537 GB, free: 230.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/5.262, allocations: 0 / 2.537 GB, free: 230.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/5.262, allocations: 7.656 kB / 2.537 GB, free: 230.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/5.262, allocations: 30.94 kB / 2.537 GB, free: 230.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005363/5.268, allocations: 3.555 MB / 2.54 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/5.269, allocations: 0.8031 MB / 2.541 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/5.269, allocations: 323.2 kB / 2.542 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 9.183e-05/5.269, allocations: 41.88 kB / 2.542 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006692/5.27, allocations: 497.5 kB / 2.542 GB, free: 229 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=93): time 2.294e-06/5.27, allocations: 0 / 2.542 GB, free: 229 MB / 0.6982 GB Notification: Performance of matching and sorting (n=93): time 0.001791/5.272, allocations: 0.8268 MB / 2.543 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/5.272, allocations: 243.8 kB / 2.543 GB, free: 228.7 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006881/5.273, allocations: 0.5795 MB / 2.544 GB, free: 228.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/5.273, allocations: 30.98 kB / 2.544 GB, free: 228.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/5.273, allocations: 430.3 kB / 2.544 GB, free: 228.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/5.273, allocations: 302.3 kB / 2.544 GB, free: 228 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/5.273, allocations: 0 / 2.544 GB, free: 228 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001522/5.273, allocations: 386.6 kB / 2.545 GB, free: 227.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/5.274, allocations: 265.7 kB / 2.545 GB, free: 227.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/5.274, allocations: 399.4 kB / 2.545 GB, free: 227.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/5.275, allocations: 337.5 kB / 2.546 GB, free: 227.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/5.275, allocations: 3.531 kB / 2.546 GB, free: 227.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001769/5.277, allocations: 0.868 MB / 2.547 GB, free: 227.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/5.277, allocations: 5.5 kB / 2.547 GB, free: 227.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/5.277, allocations: 9.781 kB / 2.547 GB, free: 227.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/5.277, allocations: 82.12 kB / 2.547 GB, free: 227.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/5.278, allocations: 192.5 kB / 2.547 GB, free: 227.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/5.28, allocations: 1.463 MB / 2.548 GB, free: 226.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/5.281, allocations: 79.77 kB / 2.548 GB, free: 226.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/5.281, allocations: 40 kB / 2.548 GB, free: 226.2 MB / 0.6982 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.0002087/5.281, allocations: 118.1 kB / 2.549 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/5.281, allocations: 89.75 kB / 2.549 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/5.284, allocations: 1.21 MB / 2.55 GB, free: 226 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/5.284, allocations: 9.812 kB / 2.55 GB, free: 226 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/5.284, allocations: 0 / 2.55 GB, free: 226 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/5.284, allocations: 3.656 kB / 2.55 GB, free: 226 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/5.287, allocations: 2.22 MB / 2.552 GB, free: 225.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/5.287, allocations: 0 / 2.552 GB, free: 225.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/5.288, allocations: 182.3 kB / 2.552 GB, free: 225.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/5.289, allocations: 92.56 kB / 2.552 GB, free: 225.6 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/5.289, allocations: 16.7 kB / 2.552 GB, free: 225.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/5.29, allocations: 1.492 MB / 2.554 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/5.29, allocations: 0 / 2.554 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001828/5.292, allocations: 1 MB / 2.555 GB, free: 224.2 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002154/5.294, allocations: 1.42 MB / 2.556 GB, free: 223.6 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/5.295, allocations: 335.5 kB / 2.556 GB, free: 223.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/5.295, allocations: 3.438 kB / 2.556 GB, free: 223.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/5.296, allocations: 65.86 kB / 2.556 GB, free: 223.5 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/5.296, allocations: 60.48 kB / 2.557 GB, free: 223.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/5.296, allocations: 39.58 kB / 2.557 GB, free: 223.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0008604/5.297, allocations: 494 kB / 2.557 GB, free: 223.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002371/5.3, allocations: 485.6 kB / 2.557 GB, free: 223.3 MB / 0.6982 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.002007/5.302, allocations: 1.057 MB / 2.559 GB, free: 223.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001643/5.303, allocations: 0.8367 MB / 2.559 GB, free: 223 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.303, allocations: 5.484 kB / 2.559 GB, free: 223 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/5.304, allocations: 0.5293 MB / 2.56 GB, free: 222.9 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/5.305, allocations: 221.7 kB / 2.56 GB, free: 222.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/5.31, allocations: 1.71 MB / 2.562 GB, free: 222.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009051/5.31, allocations: 1.28 MB / 2.563 GB, free: 221.7 MB / 0.6982 GB Notification: Performance of SimCode: time 2.3e-07/5.31, allocations: 0 / 2.563 GB, free: 221.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)