Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.002348/0.002348, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6567/0.6567, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.338/1.338, allocations: 221.3 MB / 395 MB, free: 10.19 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.001077/0.001077, allocations: 106.1 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3885/0.3896, allocations: 88.41 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.5285, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.169/4.697, allocations: 1.693 GB / 2.326 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/4.698, allocations: 82.41 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.1576/4.856, allocations: 65.04 MB / 2.39 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/4.856, allocations: 12 kB / 2.39 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/4.857, allocations: 190.6 kB / 2.39 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/4.858, allocations: 0.6115 MB / 2.39 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/4.858, allocations: 24 kB / 2.39 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/4.858, allocations: 44 kB / 2.391 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001408/4.859, allocations: 0.9757 MB / 2.391 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/4.86, allocations: 0.7194 MB / 2.392 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/4.86, allocations: 0 / 2.392 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/4.861, allocations: 4 kB / 2.392 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/4.861, allocations: 16 kB / 2.392 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/4.864, allocations: 2.301 MB / 2.394 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009504/4.865, allocations: 0.7241 MB / 2.395 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/4.865, allocations: 242.8 kB / 2.395 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-05/4.866, allocations: 36.55 kB / 2.395 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/4.866, allocations: 370.1 kB / 2.396 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.865e-06/4.866, allocations: 0 / 2.396 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001508/4.868, allocations: 0.6287 MB / 2.396 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/4.868, allocations: 240 kB / 2.397 GB, free: 201 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006119/4.868, allocations: 0.4983 MB / 2.397 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/4.868, allocations: 25.7 kB / 2.397 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/4.868, allocations: 296.2 kB / 2.397 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/4.869, allocations: 216.6 kB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/4.869, allocations: 4 kB / 2.398 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001593/4.869, allocations: 374.8 kB / 2.398 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/4.869, allocations: 189.3 kB / 2.398 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/4.869, allocations: 282.4 kB / 2.398 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/4.87, allocations: 243 kB / 2.399 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/4.87, allocations: 0 / 2.399 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001346/4.871, allocations: 0.6288 MB / 2.399 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/4.871, allocations: 8 kB / 2.399 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/4.871, allocations: 0 / 2.399 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/4.872, allocations: 88.77 kB / 2.399 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/4.873, allocations: 131.9 kB / 2.399 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/4.874, allocations: 1.472 MB / 2.401 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/4.875, allocations: 59.56 kB / 2.401 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/4.875, allocations: 27.98 kB / 2.401 GB, free: 196.3 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.0001712/4.875, allocations: 112.9 kB / 2.401 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/4.875, allocations: 71.16 kB / 2.401 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/4.877, allocations: 0.8931 MB / 2.402 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/4.877, allocations: 8 kB / 2.402 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/4.877, allocations: 7.938 kB / 2.402 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/4.877, allocations: 3.984 kB / 2.402 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/4.88, allocations: 1.697 MB / 2.404 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/4.88, allocations: 0 / 2.404 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/4.881, allocations: 139.8 kB / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/4.881, allocations: 84.78 kB / 2.404 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/4.881, allocations: 11.98 kB / 2.404 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/4.883, allocations: 1.492 MB / 2.405 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/4.883, allocations: 12.08 kB / 2.405 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001395/4.884, allocations: 0.7971 MB / 2.406 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001566/4.886, allocations: 1.215 MB / 2.407 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/4.886, allocations: 268 kB / 2.408 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/4.886, allocations: 4 kB / 2.408 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/4.887, allocations: 59.94 kB / 2.408 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/4.887, allocations: 52.55 kB / 2.408 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/4.887, allocations: 31.98 kB / 2.408 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005352/4.888, allocations: 402.9 kB / 2.408 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002108/4.89, allocations: 399.1 kB / 2.409 GB, free: 188.3 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.002128/4.892, allocations: 1.05 MB / 2.41 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001254/4.893, allocations: 0.639 MB / 2.41 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/4.893, allocations: 0 / 2.41 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000605/4.894, allocations: 428.7 kB / 2.411 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/4.895, allocations: 224.4 kB / 2.411 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/4.899, allocations: 1.326 MB / 2.412 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/4.899, allocations: 1.111 MB / 2.413 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/4.899, allocations: 4 kB / 2.413 GB, free: 183.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)