Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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/BuildSysPro 3.5.0/package.mo): time 0.7505/0.7505, allocations: 127.4 MB / 134.6 MB, free: 4.023 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 185.3 kB / 164.4 MB, free: 6.859 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 87.38 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4196/0.4207, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.6461, allocations: 76.75 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.227/6.873, allocations: 2.147 GB / 2.768 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/6.873, allocations: 95.94 kB / 2.768 GB, free: 19.63 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.5631/7.436, allocations: 55.35 MB / 2.822 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/7.436, allocations: 9.594 kB / 2.822 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/7.439, allocations: 332.1 kB / 2.822 GB, free: 160.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/7.44, allocations: 0.5208 MB / 2.823 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/7.44, allocations: 31.41 kB / 2.823 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/7.44, allocations: 42.97 kB / 2.823 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001814/7.442, allocations: 0.9927 MB / 2.824 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/7.444, allocations: 0.6828 MB / 2.824 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/7.444, allocations: 3.422 kB / 2.824 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/7.444, allocations: 3.969 kB / 2.824 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/7.444, allocations: 19.61 kB / 2.824 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/7.448, allocations: 2.206 MB / 2.826 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/7.45, allocations: 0.6571 MB / 2.827 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/7.45, allocations: 253.5 kB / 2.827 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/7.451, allocations: 478.6 kB / 2.828 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005594/7.451, allocations: 391.2 kB / 2.828 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=71): time 3.677e-06/7.451, allocations: 0 / 2.828 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71): time 0.002198/7.453, allocations: 0.7033 MB / 2.829 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/7.454, allocations: 170.1 kB / 2.829 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/7.454, allocations: 452.8 kB / 2.829 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/7.454, allocations: 33.61 kB / 2.829 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/7.455, allocations: 274.2 kB / 2.83 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/7.455, allocations: 225 kB / 2.83 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/7.455, allocations: 0 / 2.83 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000113/7.455, allocations: 361.7 kB / 2.83 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/7.455, allocations: 195.3 kB / 2.83 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/7.456, allocations: 272.3 kB / 2.831 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/7.456, allocations: 309.1 kB / 2.831 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/7.456, allocations: 0 / 2.831 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001896/7.458, allocations: 0.7148 MB / 2.832 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/7.458, allocations: 3.875 kB / 2.832 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/7.458, allocations: 0 / 2.832 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006542/7.459, allocations: 90.16 kB / 2.832 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000786/7.46, allocations: 151.1 kB / 2.832 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/7.462, allocations: 1.441 MB / 2.833 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007776/7.463, allocations: 65.23 kB / 2.833 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-05/7.463, allocations: 32.97 kB / 2.833 GB, free: 156.2 MB / 0.6355 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0002056/7.463, allocations: 116.8 kB / 2.834 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/7.463, allocations: 66.5 kB / 2.834 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/7.466, allocations: 0.9615 MB / 2.835 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/7.466, allocations: 11.72 kB / 2.835 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/7.466, allocations: 0 / 2.835 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/7.466, allocations: 14.31 kB / 2.835 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/7.467, allocations: 0.6887 MB / 2.835 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/7.467, allocations: 3.938 kB / 2.835 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/7.468, allocations: 146.3 kB / 2.835 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/7.468, allocations: 88.88 kB / 2.835 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/7.468, allocations: 21.02 kB / 2.835 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/7.47, allocations: 1.464 MB / 2.837 GB, free: 154.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/7.47, allocations: 0 / 2.837 GB, free: 154.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00206/7.472, allocations: 0.7988 MB / 2.838 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002136/7.474, allocations: 1.202 MB / 2.839 GB, free: 153.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/7.475, allocations: 266.1 kB / 2.839 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/7.475, allocations: 7.656 kB / 2.839 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/7.476, allocations: 53.59 kB / 2.839 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/7.476, allocations: 52.02 kB / 2.839 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-05/7.476, allocations: 32.53 kB / 2.839 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000534/7.477, allocations: 364.6 kB / 2.84 GB, free: 153.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002147/7.479, allocations: 386.2 kB / 2.84 GB, free: 153.5 MB / 0.6355 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 75 * 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.002225/7.481, allocations: 1.028 MB / 2.841 GB, free: 153.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001434/7.482, allocations: 0.6409 MB / 2.842 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/7.482, allocations: 0 / 2.842 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007782/7.483, allocations: 434.4 kB / 2.842 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/7.484, allocations: 170.2 kB / 2.842 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/7.488, allocations: 1.25 MB / 2.843 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/7.489, allocations: 1.084 MB / 2.844 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/7.489, allocations: 0 / 2.844 GB, free: 151.8 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)