Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003625/0.003626, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7246/0.7246, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.482/1.482, allocations: 221.3 MB / 395 MB, free: 10.22 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.0009777/0.0009777, allocations: 100.5 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4889/0.4899, allocations: 88.43 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.6822, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.081/5.763, allocations: 1.695 GB / 2.329 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/5.763, allocations: 92.72 kB / 2.329 GB, free: 258.1 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.2052/5.968, allocations: 85.86 MB / 2.413 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/5.969, allocations: 8 kB / 2.413 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/5.97, allocations: 250 kB / 2.413 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/5.972, allocations: 0.7482 MB / 2.414 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/5.972, allocations: 92.11 kB / 2.414 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/5.973, allocations: 68 kB / 2.414 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002494/5.975, allocations: 1.27 MB / 2.415 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/5.978, allocations: 1.058 MB / 2.416 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/5.978, allocations: 0 / 2.416 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/5.978, allocations: 4 kB / 2.416 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/5.978, allocations: 28 kB / 2.416 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006039/5.984, allocations: 3.573 MB / 2.42 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/5.985, allocations: 0.7984 MB / 2.42 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/5.985, allocations: 323.1 kB / 2.421 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-05/5.986, allocations: 48.7 kB / 2.421 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006525/5.986, allocations: 491.6 kB / 2.421 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 3.677e-06/5.986, allocations: 0 / 2.421 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.001948/5.988, allocations: 0.8266 MB / 2.422 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/5.988, allocations: 244.1 kB / 2.422 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008184/5.989, allocations: 0.5817 MB / 2.423 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/5.989, allocations: 25.7 kB / 2.423 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/5.989, allocations: 431.7 kB / 2.423 GB, free: 173 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/5.99, allocations: 295.5 kB / 2.424 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/5.99, allocations: 4 kB / 2.424 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001309/5.99, allocations: 390.8 kB / 2.424 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/5.99, allocations: 266 kB / 2.424 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/5.991, allocations: 390.3 kB / 2.425 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/5.991, allocations: 346.8 kB / 2.425 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/5.991, allocations: 0 / 2.425 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001833/5.993, allocations: 0.8742 MB / 2.426 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/5.993, allocations: 6.969 kB / 2.426 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/5.993, allocations: 0 / 2.426 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/5.994, allocations: 92.77 kB / 2.426 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/5.995, allocations: 187.7 kB / 2.426 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/5.996, allocations: 1.472 MB / 2.427 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/5.997, allocations: 79.36 kB / 2.427 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/5.997, allocations: 35.97 kB / 2.428 GB, free: 168.5 MB / 0.6823 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.0002283/5.998, allocations: 120.8 kB / 2.428 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/5.998, allocations: 86.97 kB / 2.428 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/6.001, allocations: 1.209 MB / 2.429 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/6.001, allocations: 8 kB / 2.429 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/6.001, allocations: 0 / 2.429 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/6.001, allocations: 7.984 kB / 2.429 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/6.005, allocations: 2.203 MB / 2.431 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/6.005, allocations: 0 / 2.431 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/6.006, allocations: 191.6 kB / 2.431 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005755/6.006, allocations: 84.78 kB / 2.431 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-05/6.006, allocations: 23.97 kB / 2.431 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/6.009, allocations: 1.492 MB / 2.433 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/6.009, allocations: 0 / 2.433 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002066/6.011, allocations: 1.006 MB / 2.434 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002109/6.013, allocations: 1.42 MB / 2.435 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/6.013, allocations: 339.4 kB / 2.436 GB, free: 160 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/6.013, allocations: 0 / 2.436 GB, free: 160 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/6.014, allocations: 71.94 kB / 2.436 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/6.014, allocations: 56.91 kB / 2.436 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/6.014, allocations: 39.97 kB / 2.436 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006277/6.015, allocations: 491.1 kB / 2.436 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002181/6.017, allocations: 490.5 kB / 2.437 GB, free: 158.9 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 (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.002019/6.019, allocations: 1.057 MB / 2.438 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001682/6.021, allocations: 0.8345 MB / 2.438 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/6.021, allocations: 0 / 2.438 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007798/6.022, allocations: 0.5288 MB / 2.439 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/6.023, allocations: 228.4 kB / 2.439 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/6.028, allocations: 1.712 MB / 2.441 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009911/6.029, allocations: 1.273 MB / 2.442 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.064e-06/6.029, allocations: 0 / 2.442 GB, free: 153.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)