Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_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.003526/0.003526, allocations: 179.8 kB / 7.455 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.6996/0.6996, 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.443/1.443, allocations: 221.3 MB / 395 MB, free: 10.18 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.001063/0.001063, allocations: 103.5 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4577/0.4588, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.6258, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.736/5.362, allocations: 1.695 GB / 2.329 GB, free: 258.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/5.363, allocations: 96.92 kB / 2.329 GB, free: 258.3 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.2048/5.568, allocations: 85.87 MB / 2.413 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/5.568, allocations: 8 kB / 2.413 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/5.569, allocations: 238 kB / 2.413 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/5.571, allocations: 0.7599 MB / 2.414 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/5.571, allocations: 80.19 kB / 2.414 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/5.571, allocations: 75.98 kB / 2.414 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001971/5.573, allocations: 1.27 MB / 2.415 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/5.575, allocations: 1.054 MB / 2.416 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/5.575, allocations: 0 / 2.416 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/5.575, allocations: 4 kB / 2.416 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/5.575, allocations: 28 kB / 2.416 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005475/5.581, allocations: 3.573 MB / 2.42 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/5.582, allocations: 0.7984 MB / 2.42 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/5.582, allocations: 323.1 kB / 2.421 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.471e-05/5.582, allocations: 44.7 kB / 2.421 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006413/5.583, allocations: 495.7 kB / 2.421 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 3.416e-06/5.583, allocations: 0 / 2.421 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.001863/5.585, allocations: 0.8226 MB / 2.422 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/5.585, allocations: 244.1 kB / 2.422 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/5.586, allocations: 0.5817 MB / 2.423 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/5.586, allocations: 29.7 kB / 2.423 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/5.586, allocations: 431.7 kB / 2.423 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/5.586, allocations: 291.5 kB / 2.424 GB, free: 173 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/5.586, allocations: 0 / 2.424 GB, free: 173 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001182/5.586, allocations: 394.7 kB / 2.424 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/5.587, allocations: 270 kB / 2.424 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/5.587, allocations: 390.3 kB / 2.425 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/5.588, allocations: 342.8 kB / 2.425 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/5.588, allocations: 0 / 2.425 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001724/5.589, allocations: 0.8742 MB / 2.426 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/5.589, allocations: 8 kB / 2.426 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/5.589, allocations: 0 / 2.426 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/5.59, allocations: 84.84 kB / 2.426 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/5.591, allocations: 187.6 kB / 2.426 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/5.593, allocations: 1.488 MB / 2.427 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007941/5.593, allocations: 75.3 kB / 2.427 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/5.593, allocations: 40.03 kB / 2.428 GB, free: 168.7 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.0002039/5.594, allocations: 116.9 kB / 2.428 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/5.594, allocations: 90.95 kB / 2.428 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/5.597, allocations: 1.201 MB / 2.429 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/5.597, allocations: 12 kB / 2.429 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/5.597, allocations: 0 / 2.429 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/5.597, allocations: 3.984 kB / 2.429 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/5.6, allocations: 2.215 MB / 2.431 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/5.6, allocations: 0 / 2.431 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/5.601, allocations: 179.7 kB / 2.431 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005216/5.601, allocations: 84.78 kB / 2.431 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/5.601, allocations: 19.98 kB / 2.431 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/5.603, allocations: 1.488 MB / 2.433 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/5.603, allocations: 4.062 kB / 2.433 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001722/5.605, allocations: 1.01 MB / 2.434 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001814/5.606, allocations: 1.412 MB / 2.435 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/5.607, allocations: 343.4 kB / 2.436 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/5.607, allocations: 4 kB / 2.436 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/5.608, allocations: 67.94 kB / 2.436 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/5.608, allocations: 60.89 kB / 2.436 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/5.608, allocations: 39.97 kB / 2.436 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006254/5.609, allocations: 491.1 kB / 2.436 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002131/5.611, allocations: 482.5 kB / 2.437 GB, free: 159.1 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.00192/5.613, allocations: 1.069 MB / 2.438 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001445/5.614, allocations: 0.8384 MB / 2.438 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/5.614, allocations: 0 / 2.438 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007222/5.615, allocations: 0.5288 MB / 2.439 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/5.616, allocations: 216.5 kB / 2.439 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/5.621, allocations: 1.708 MB / 2.441 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000987/5.622, allocations: 1.28 MB / 2.442 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.543e-06/5.622, allocations: 0 / 2.442 GB, free: 153.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)