Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.002557/0.002557, allocations: 187 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6618/0.6618, 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.376/1.376, allocations: 221.3 MB / 395 MB, free: 10.16 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.00101/0.00101, allocations: 101.4 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4111/0.4122, allocations: 88.42 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.5824, allocations: 82.31 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.517/5.099, allocations: 1.693 GB / 2.326 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004069/5.1, allocations: 94.56 kB / 2.326 GB, free: 259.7 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.1571/5.257, allocations: 60.82 MB / 2.386 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/5.257, allocations: 8 kB / 2.386 GB, free: 213.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/5.258, allocations: 198.6 kB / 2.386 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/5.26, allocations: 0.6192 MB / 2.386 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/5.26, allocations: 24 kB / 2.386 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/5.26, allocations: 44 kB / 2.387 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001639/5.262, allocations: 0.9834 MB / 2.387 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/5.263, allocations: 0.7194 MB / 2.388 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/5.263, allocations: 3.938 kB / 2.388 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-05/5.263, allocations: 0 / 2.388 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/5.263, allocations: 20 kB / 2.388 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/5.267, allocations: 2.274 MB / 2.39 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/5.269, allocations: 0.7206 MB / 2.391 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/5.269, allocations: 242.8 kB / 2.391 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/5.269, allocations: 28.67 kB / 2.391 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005421/5.27, allocations: 378 kB / 2.392 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 6.172e-06/5.27, allocations: 3.984 kB / 2.392 GB, free: 207 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.001663/5.271, allocations: 0.6327 MB / 2.392 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.399e-05/5.271, allocations: 243.9 kB / 2.393 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007623/5.272, allocations: 0.4983 MB / 2.393 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/5.272, allocations: 25.7 kB / 2.393 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/5.273, allocations: 300.2 kB / 2.393 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/5.273, allocations: 228.5 kB / 2.394 GB, free: 205 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/5.273, allocations: 0 / 2.394 GB, free: 205 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001237/5.273, allocations: 370.8 kB / 2.394 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/5.273, allocations: 181.3 kB / 2.394 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/5.274, allocations: 302.3 kB / 2.394 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/5.274, allocations: 227.1 kB / 2.395 GB, free: 204 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/5.274, allocations: 0 / 2.395 GB, free: 204 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001458/5.275, allocations: 0.6404 MB / 2.395 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/5.275, allocations: 8 kB / 2.395 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/5.275, allocations: 0 / 2.395 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/5.276, allocations: 80.84 kB / 2.395 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/5.277, allocations: 139.8 kB / 2.396 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/5.279, allocations: 1.457 MB / 2.397 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/5.279, allocations: 67.59 kB / 2.397 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/5.279, allocations: 28.06 kB / 2.397 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 (74): * Single equations (assignments): 73 * 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.0001743/5.28, allocations: 112.9 kB / 2.397 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/5.28, allocations: 71.16 kB / 2.397 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/5.282, allocations: 0.9363 MB / 2.398 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/5.282, allocations: 11.94 kB / 2.398 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/5.282, allocations: 7.891 kB / 2.398 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/5.282, allocations: 3.984 kB / 2.398 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/5.285, allocations: 1.686 MB / 2.4 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/5.285, allocations: 4 kB / 2.4 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/5.285, allocations: 143.8 kB / 2.4 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005165/5.286, allocations: 84.77 kB / 2.4 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/5.286, allocations: 23.98 kB / 2.4 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/5.288, allocations: 1.48 MB / 2.401 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/5.288, allocations: 0 / 2.401 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001455/5.289, allocations: 0.8129 MB / 2.402 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001594/5.291, allocations: 1.235 MB / 2.403 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/5.291, allocations: 267.9 kB / 2.404 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/5.291, allocations: 11.98 kB / 2.404 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/5.292, allocations: 55.95 kB / 2.404 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/5.292, allocations: 48.7 kB / 2.404 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/5.292, allocations: 35.97 kB / 2.404 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005565/5.293, allocations: 402.9 kB / 2.404 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002285/5.295, allocations: 407 kB / 2.405 GB, free: 193.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 (86): * Single equations (assignments): 83 * 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.002877/5.298, allocations: 1.052 MB / 2.406 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00152/5.299, allocations: 0.6428 MB / 2.406 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/5.299, allocations: 0 / 2.406 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000844/5.3, allocations: 448.8 kB / 2.407 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/5.302, allocations: 208.5 kB / 2.407 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/5.306, allocations: 1.338 MB / 2.408 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008759/5.307, allocations: 1.123 MB / 2.409 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/5.307, allocations: 0 / 2.409 GB, free: 188.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)