Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.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.ConvertRadiation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertRadiation",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.8023/0.8023, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001239/0.001239, allocations: 189.2 kB / 164.4 MB, free: 6.883 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.755/1.755, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.0009827/0.0009825, allocations: 89.08 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3409/0.3419, allocations: 82.9 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.5362, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5352/1.072, allocations: 104.6 MB / 0.7232 GB, free: 7.777 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.072, allocations: 83.94 kB / 0.7232 GB, free: 7.695 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.02145/1.093, allocations: 7.757 MB / 0.7308 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/1.093, allocations: 8 kB / 0.7308 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/1.093, allocations: 23.72 kB / 0.7308 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/1.094, allocations: 266.2 kB / 0.7311 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/1.094, allocations: 8 kB / 0.7311 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/1.094, allocations: 8 kB / 0.7311 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009197/1.095, allocations: 0.7256 MB / 0.7318 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/1.095, allocations: 171.2 kB / 0.732 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.095, allocations: 0 / 0.732 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/1.095, allocations: 4 kB / 0.732 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.095, allocations: 7.938 kB / 0.732 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/1.096, allocations: 0.5242 MB / 0.7325 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/1.096, allocations: 207.3 kB / 0.7327 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/1.096, allocations: 88.84 kB / 0.7328 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.701e-05/1.096, allocations: 23.95 kB / 0.7328 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/1.097, allocations: 145.2 kB / 0.733 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/1.097, allocations: 4 kB / 0.733 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.000459/1.097, allocations: 251.2 kB / 0.7332 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/1.097, allocations: 81.11 kB / 0.7333 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/1.098, allocations: 254 kB / 0.7335 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/1.098, allocations: 25.7 kB / 0.7335 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/1.098, allocations: 108.7 kB / 0.7336 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-05/1.098, allocations: 98.47 kB / 0.7337 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/1.098, allocations: 0 / 0.7337 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.098, allocations: 346.7 kB / 0.7341 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/1.098, allocations: 67.98 kB / 0.7341 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/1.098, allocations: 101.6 kB / 0.7342 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/1.098, allocations: 92.78 kB / 0.7343 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.098, allocations: 3.938 kB / 0.7343 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003947/1.099, allocations: 249.2 kB / 0.7346 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.099, allocations: 4 kB / 0.7346 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.099, allocations: 0 / 0.7346 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.099, allocations: 4 kB / 0.7346 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/1.099, allocations: 63.94 kB / 0.7346 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/1.099, allocations: 0 / 0.7346 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/1.099, allocations: 23.73 kB / 0.7347 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/1.099, allocations: 8 kB / 0.7347 GB, free: 11.79 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 (34): * Single equations (assignments): 34 * 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.0001094/1.099, allocations: 104.9 kB / 0.7348 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/1.099, allocations: 27.72 kB / 0.7348 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007026/1.1, allocations: 364.4 kB / 0.7351 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.1, allocations: 8 kB / 0.7351 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.1, allocations: 3.906 kB / 0.7351 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.1, allocations: 0 / 0.7351 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/1.1, allocations: 293.8 kB / 0.7354 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.1, allocations: 0 / 0.7354 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/1.101, allocations: 55.91 kB / 0.7355 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.101, allocations: 3.938 kB / 0.7355 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.101, allocations: 8 kB / 0.7355 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.101, allocations: 3.984 kB / 0.7355 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.101, allocations: 3.906 kB / 0.7355 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004232/1.101, allocations: 298.1 kB / 0.7358 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005893/1.102, allocations: 0.6582 MB / 0.7364 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/1.102, allocations: 148.7 kB / 0.7366 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/1.102, allocations: 0 / 0.7366 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/1.102, allocations: 7.984 kB / 0.7366 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/1.102, allocations: 19.97 kB / 0.7366 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/1.102, allocations: 12 kB / 0.7366 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002251/1.102, allocations: 208.6 kB / 0.7368 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009641/1.103, allocations: 59.91 kB / 0.7369 GB, free: 9.422 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 (33): * Single equations (assignments): 32 * 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.00075/1.104, allocations: 310 kB / 0.7372 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000387/1.105, allocations: 200.4 kB / 0.7373 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.105, allocations: 4 kB / 0.7373 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/1.105, allocations: 120.4 kB / 0.7375 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/1.105, allocations: 19.84 kB / 0.7375 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/1.106, allocations: 394.3 kB / 0.7379 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/1.107, allocations: 0.8113 MB / 0.7387 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of SimCode: time 2.91e-07/1.107, allocations: 0 / 0.7387 GB, free: 7.594 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertRadiation_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertRadiation.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe 2>&1)