Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.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.WeatherData.BaseClasses.Examples.CheckRadiation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation",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.7623/0.7623, allocations: 127.4 MB / 134.6 MB, free: 4.113 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.001308/0.001308, allocations: 193.2 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.0009336/0.0009335, allocations: 85.92 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2795/0.2805, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.4312, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.8522, allocations: 105.3 MB / 0.7239 GB, free: 6.945 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.8525, allocations: 91.92 kB / 0.724 GB, free: 6.855 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.02392/0.8764, allocations: 8.357 MB / 0.7321 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.8765, allocations: 15.94 kB / 0.7321 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005463/0.877, allocations: 71.55 kB / 0.7322 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.8774, allocations: 266.5 kB / 0.7325 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.8775, allocations: 4 kB / 0.7325 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.8775, allocations: 12 kB / 0.7325 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00104/0.8786, allocations: 0.7412 MB / 0.7332 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.879, allocations: 202.8 kB / 0.7334 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.879, allocations: 0 / 0.7334 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.879, allocations: 7.844 kB / 0.7334 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.879, allocations: 4 kB / 0.7334 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.8802, allocations: 0.5751 MB / 0.734 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.8807, allocations: 299.9 kB / 0.7343 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.8809, allocations: 101.3 kB / 0.7344 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.608e-05/0.881, allocations: 20.25 kB / 0.7344 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.8812, allocations: 163.6 kB / 0.7345 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.8812, allocations: 3.938 kB / 0.7345 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0005264/0.8818, allocations: 276.8 kB / 0.7348 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.8818, allocations: 81.11 kB / 0.7349 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.8821, allocations: 256.3 kB / 0.7351 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.8822, allocations: 25.7 kB / 0.7351 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.8822, allocations: 104.8 kB / 0.7352 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.8823, allocations: 114.3 kB / 0.7354 GB, free: 11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.8823, allocations: 0 / 0.7354 GB, free: 11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8825, allocations: 334.8 kB / 0.7357 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.8826, allocations: 79.98 kB / 0.7358 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.8828, allocations: 105.6 kB / 0.7359 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.883, allocations: 108.7 kB / 0.736 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.883, allocations: 0 / 0.736 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005097/0.8835, allocations: 265 kB / 0.7362 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8836, allocations: 8.016 kB / 0.7362 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8836, allocations: 4 kB / 0.7362 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8836, allocations: 4 kB / 0.7362 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.8839, allocations: 67.91 kB / 0.7363 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.884, allocations: 3.906 kB / 0.7363 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.8841, allocations: 19.83 kB / 0.7363 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.8842, allocations: 11.98 kB / 0.7363 GB, free: 9.988 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.timCon.tStart,timCon.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.8843, allocations: 116.9 kB / 0.7364 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.8844, allocations: 27.62 kB / 0.7365 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008226/0.8852, allocations: 388.5 kB / 0.7368 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.8852, allocations: 4 kB / 0.7368 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8852, allocations: 3.938 kB / 0.7368 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8852, allocations: 3.938 kB / 0.7368 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.8856, allocations: 309.8 kB / 0.7371 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.8856, allocations: 4 kB / 0.7371 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.8858, allocations: 59.97 kB / 0.7372 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8859, allocations: 4 kB / 0.7372 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.8859, allocations: 11.98 kB / 0.7372 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.8859, allocations: 11.92 kB / 0.7372 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8859, allocations: 0 / 0.7372 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004652/0.8864, allocations: 310.3 kB / 0.7375 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006347/0.887, allocations: 0.6856 MB / 0.7382 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.8872, allocations: 152.7 kB / 0.7383 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.8873, allocations: 0 / 0.7383 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.8875, allocations: 11.98 kB / 0.7383 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.8875, allocations: 23.88 kB / 0.7384 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.8876, allocations: 11.98 kB / 0.7384 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001865/0.8877, allocations: 212.5 kB / 0.7386 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009138/0.8887, allocations: 75.81 kB / 0.7387 GB, free: 7.484 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,timCon.tStart) * Number of discrete states: 1 (timCon.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006716/0.8893, allocations: 309 kB / 0.739 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.8897, allocations: 228.3 kB / 0.7392 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8897, allocations: 0 / 0.7392 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.89, allocations: 128.4 kB / 0.7393 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.8902, allocations: 16.66 kB / 0.7393 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008689/0.8911, allocations: 417.2 kB / 0.7397 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005499/0.8916, allocations: 0.8286 MB / 0.7405 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.8916, allocations: 0 / 0.7405 GB, free: 5.59 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1)