Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.00432/0.00432, allocations: 182.1 kB / 7.458 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.7095/0.7095, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.46/1.46, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009302/0.0009301, allocations: 94.91 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3653/0.3663, allocations: 88.44 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.5332, allocations: 82.31 MB / 0.6333 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.9951, allocations: 110.8 MB / 0.7416 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.9955, allocations: 80.41 kB / 0.7416 GB, free: 10.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002404/0.9979, allocations: 0.7375 MB / 0.7423 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.9979, allocations: 11.5 kB / 0.7424 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.998, allocations: 5.281 kB / 0.7424 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.9982, allocations: 171.4 kB / 0.7425 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.9983, allocations: 11.86 kB / 0.7425 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.9983, allocations: 3.938 kB / 0.7425 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.449e-05/0.9983, allocations: 6.469 kB / 0.7425 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.756e-05/0.9984, allocations: 38.27 kB / 0.7426 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.9984, allocations: 0 / 0.7426 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.9985, allocations: 0 / 0.7426 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.9985, allocations: 0 / 0.7426 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.9989, allocations: 214.1 kB / 0.7428 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.9989, allocations: 26.44 kB / 0.7428 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.999, allocations: 23.8 kB / 0.7428 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.999, allocations: 0 / 0.7428 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.999, allocations: 31.31 kB / 0.7429 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.999, allocations: 0 / 0.7429 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001437/0.9992, allocations: 36.11 kB / 0.7429 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.9992, allocations: 55.44 kB / 0.743 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.9993, allocations: 92.83 kB / 0.743 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.9993, allocations: 25.7 kB / 0.7431 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.9994, allocations: 84.44 kB / 0.7431 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.9994, allocations: 4.75 kB / 0.7432 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.9994, allocations: 0.875 kB / 0.7432 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9995, allocations: 315.5 kB / 0.7435 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.9996, allocations: 0 / 0.7435 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-06/0.9996, allocations: 11.28 kB / 0.7435 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.412e-05/0.9996, allocations: 4.734 kB / 0.7435 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9996, allocations: 0 / 0.7435 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.846e-05/0.9997, allocations: 42.39 kB / 0.7435 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.9997, allocations: 4.469 kB / 0.7435 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9997, allocations: 7.844 kB / 0.7435 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.9997, allocations: 3.5 kB / 0.7435 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.9998, allocations: 0.5625 kB / 0.7435 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.9998, allocations: 4.344 kB / 0.7435 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.9998, allocations: 4.094 kB / 0.7435 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.9998, allocations: 0 / 0.7435 GB, free: 25.28 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.092e-05/0.9999, allocations: 109.3 kB / 0.7436 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/1, allocations: 0 / 0.7436 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/1, allocations: 8.125 kB / 0.7436 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1, allocations: 0 / 0.7436 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1, allocations: 0.5625 kB / 0.7436 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1, allocations: 0 / 0.7436 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/1, allocations: 133.3 kB / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1, allocations: 0.5625 kB / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/1, allocations: 11.83 kB / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/1, allocations: 0 / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/1, allocations: 0 / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1, allocations: 4.734 kB / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1, allocations: 0 / 0.7438 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001252/1, allocations: 132.9 kB / 0.7439 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003093/1.001, allocations: 0.5017 MB / 0.7444 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/1.001, allocations: 81.53 kB / 0.7445 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/1.001, allocations: 0.5625 kB / 0.7445 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/1.001, allocations: 0 / 0.7445 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/1.001, allocations: 0.5625 kB / 0.7445 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/1.001, allocations: 4.375 kB / 0.7445 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.171e-05/1.001, allocations: 87.69 kB / 0.7446 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007674/1.002, allocations: 3.875 kB / 0.7446 GB, free: 24.18 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001785/1.002, allocations: 103.7 kB / 0.7447 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/1.002, allocations: 3.875 kB / 0.7447 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.002, allocations: 3.875 kB / 0.7447 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.015e-05/1.002, allocations: 7.344 kB / 0.7447 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/1.002, allocations: 3.906 kB / 0.7447 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/1.002, allocations: 57.88 kB / 0.7447 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/1.003, allocations: 0.6996 MB / 0.7454 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/1.003, allocations: 0 / 0.7454 GB, free: 23.3 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)