Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.003342/0.003342, allocations: 177.9 kB / 7.453 MB, free: 2.527 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6789/0.679, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.0009239, allocations: 101.4 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4622/0.4631, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.6472, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.831/5.478, allocations: 1.693 GB / 2.326 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005634/5.479, allocations: 89.78 kB / 2.326 GB, free: 258.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.1482/5.627, allocations: 60.22 MB / 2.385 GB, free: 213.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/5.627, allocations: 8 kB / 2.385 GB, free: 213.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/5.628, allocations: 190.6 kB / 2.385 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/5.63, allocations: 0.6153 MB / 2.386 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/5.63, allocations: 24 kB / 2.386 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/5.63, allocations: 44 kB / 2.386 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001396/5.631, allocations: 0.9601 MB / 2.387 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/5.632, allocations: 0.7037 MB / 2.387 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/5.632, allocations: 4 kB / 2.387 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/5.632, allocations: 0 / 2.387 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/5.632, allocations: 24 kB / 2.387 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/5.636, allocations: 2.231 MB / 2.39 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009561/5.637, allocations: 0.7012 MB / 2.39 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/5.637, allocations: 234.8 kB / 2.391 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.244e-05/5.637, allocations: 24.69 kB / 2.391 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000476/5.637, allocations: 374 kB / 2.391 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.506e-06/5.637, allocations: 0 / 2.391 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001479/5.639, allocations: 0.6209 MB / 2.392 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/5.639, allocations: 244 kB / 2.392 GB, free: 206 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005933/5.64, allocations: 498.3 kB / 2.392 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/5.64, allocations: 29.64 kB / 2.392 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/5.64, allocations: 292.2 kB / 2.393 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/5.64, allocations: 220.6 kB / 2.393 GB, free: 205 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/5.64, allocations: 0 / 2.393 GB, free: 205 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001229/5.64, allocations: 374.8 kB / 2.393 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/5.64, allocations: 189.3 kB / 2.393 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/5.641, allocations: 278.4 kB / 2.394 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/5.641, allocations: 231 kB / 2.394 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/5.641, allocations: 0 / 2.394 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001314/5.642, allocations: 0.6248 MB / 2.394 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/5.642, allocations: 10.56 kB / 2.394 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/5.642, allocations: 4 kB / 2.394 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006843/5.643, allocations: 80.78 kB / 2.394 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/5.644, allocations: 135.8 kB / 2.395 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/5.646, allocations: 1.453 MB / 2.396 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/5.646, allocations: 67.52 kB / 2.396 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/5.646, allocations: 31.97 kB / 2.396 GB, free: 201.4 MB / 0.6823 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 (72): * Single equations (assignments): 71 * 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.0001628/5.646, allocations: 112.9 kB / 2.396 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/5.647, allocations: 71.16 kB / 2.396 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/5.648, allocations: 0.8814 MB / 2.397 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/5.648, allocations: 8 kB / 2.397 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/5.648, allocations: 0 / 2.397 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/5.648, allocations: 7.969 kB / 2.397 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/5.651, allocations: 1.658 MB / 2.399 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/5.651, allocations: 0 / 2.399 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/5.652, allocations: 139.9 kB / 2.399 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/5.652, allocations: 88.72 kB / 2.399 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/5.652, allocations: 15.98 kB / 2.399 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/5.654, allocations: 1.48 MB / 2.4 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/5.654, allocations: 3.984 kB / 2.4 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001376/5.655, allocations: 0.7893 MB / 2.401 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001523/5.657, allocations: 1.204 MB / 2.402 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/5.657, allocations: 275.9 kB / 2.403 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/5.657, allocations: 0 / 2.403 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/5.658, allocations: 55.94 kB / 2.403 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/5.658, allocations: 48.7 kB / 2.403 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/5.658, allocations: 31.98 kB / 2.403 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000549/5.659, allocations: 398.9 kB / 2.403 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001988/5.661, allocations: 399 kB / 2.404 GB, free: 193.5 MB / 0.6823 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 (81): * Single equations (assignments): 78 * 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.001714/5.662, allocations: 1.063 MB / 2.405 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001149/5.664, allocations: 0.6233 MB / 2.405 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/5.664, allocations: 8.125 kB / 2.405 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/5.664, allocations: 424.7 kB / 2.406 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/5.665, allocations: 218.6 kB / 2.406 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/5.669, allocations: 1.303 MB / 2.407 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/5.67, allocations: 1.111 MB / 2.408 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/5.67, allocations: 3.938 kB / 2.408 GB, free: 188.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)