Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [: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.002652/0.002652, allocations: 177.2 kB / 7.461 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6661/0.6661, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.476/1.476, allocations: 221.3 MB / 395 MB, free: 10.24 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.0009111/0.0009109, allocations: 94.5 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.779e-06/9.799e-06, allocations: 3.125 kB / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1468, allocations: 82.31 MB / 0.6332 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4162/0.563, allocations: 115.3 MB / 0.7459 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.5633, allocations: 88.2 kB / 0.746 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02713/0.5905, allocations: 10.17 MB / 0.7559 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.5905, allocations: 9.5 kB / 0.7559 GB, free: 8.902 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007832/0.5913, allocations: 0.5179 MB / 0.7564 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5914, allocations: 9.281 kB / 0.7564 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.5916, allocations: 35.14 kB / 0.7564 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.592, allocations: 279.2 kB / 0.7567 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.592, allocations: 5.125 kB / 0.7567 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.592, allocations: 10.25 kB / 0.7567 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009949/0.593, allocations: 0.7361 MB / 0.7574 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.5934, allocations: 211.5 kB / 0.7576 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5934, allocations: 0 / 0.7576 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.5934, allocations: 0.9375 kB / 0.7576 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5935, allocations: 4.5 kB / 0.7576 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.5944, allocations: 0.5679 MB / 0.7582 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.5948, allocations: 292.4 kB / 0.7585 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.595, allocations: 101.3 kB / 0.7586 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.595, allocations: 16.92 kB / 0.7586 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.5953, allocations: 166.1 kB / 0.7588 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.5953, allocations: 0 / 0.7588 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0005053/0.5958, allocations: 260 kB / 0.759 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.5959, allocations: 135.8 kB / 0.7591 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.5962, allocations: 264.4 kB / 0.7594 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.5962, allocations: 26.95 kB / 0.7594 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.5963, allocations: 106.7 kB / 0.7595 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.5964, allocations: 114 kB / 0.7596 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.5964, allocations: 0 / 0.7596 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5966, allocations: 345.3 kB / 0.7599 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.5967, allocations: 71.92 kB / 0.76 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.5969, allocations: 118.9 kB / 0.7601 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.597, allocations: 97.34 kB / 0.7602 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5971, allocations: 0 / 0.7602 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004126/0.5975, allocations: 266.6 kB / 0.7605 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5975, allocations: 9.375 kB / 0.7605 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5975, allocations: 0 / 0.7605 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5975, allocations: 1.125 kB / 0.7605 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.5978, allocations: 65.28 kB / 0.7606 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5978, allocations: 1.125 kB / 0.7606 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.5979, allocations: 25.83 kB / 0.7606 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.598, allocations: 15.75 kB / 0.7606 GB, free: 22.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.5981, allocations: 116 kB / 0.7607 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.5981, allocations: 25.47 kB / 0.7607 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/0.5988, allocations: 383.3 kB / 0.7611 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5989, allocations: 3 kB / 0.7611 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.5989, allocations: 1.125 kB / 0.7611 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5989, allocations: 0 / 0.7611 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.5992, allocations: 315.1 kB / 0.7614 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5992, allocations: 0 / 0.7614 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.5994, allocations: 57.66 kB / 0.7615 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.5994, allocations: 2.219 kB / 0.7615 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.5994, allocations: 14.89 kB / 0.7615 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5995, allocations: 1.156 kB / 0.7615 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5995, allocations: 4.922 kB / 0.7615 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004421/0.5999, allocations: 296.3 kB / 0.7618 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.6001, allocations: 157 kB / 0.7619 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.6001, allocations: 1.031 kB / 0.7619 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.6003, allocations: 34.5 kB / 0.7619 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.6004, allocations: 25.34 kB / 0.762 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.6004, allocations: 16.64 kB / 0.762 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002098/0.6007, allocations: 215.1 kB / 0.7622 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003518/0.601, allocations: 66.69 kB / 0.7622 GB, free: 21.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000655/0.6017, allocations: 318.7 kB / 0.7626 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003634/0.6021, allocations: 216.1 kB / 0.7628 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6021, allocations: 1 kB / 0.7628 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.6023, allocations: 119.9 kB / 0.7629 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.6025, allocations: 32.61 kB / 0.7629 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.6033, allocations: 409.3 kB / 0.7633 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.6039, allocations: 0.8236 MB / 0.7641 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.6039, allocations: 1.125 kB / 0.7641 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.007795/0.6117, allocations: 3.888 MB / 0.7679 GB, free: 18.24 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)