Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.003342/0.003342, allocations: 184.1 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.6769/0.6769, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.558/1.558, allocations: 221.3 MB / 395 MB, free: 10.28 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.0009409/0.0009409, allocations: 99.14 kB / 477.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4464/0.4474, allocations: 88.44 MB / 0.5529 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.6308, allocations: 82.3 MB / 0.6333 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5181/1.149, allocations: 111.1 MB / 0.7418 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/1.149, allocations: 76.78 kB / 0.7419 GB, free: 11.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.007222/1.157, allocations: 2.731 MB / 0.7445 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.157, allocations: 7.688 kB / 0.7446 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/1.157, allocations: 8.781 kB / 0.7446 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/1.157, allocations: 164.2 kB / 0.7447 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/1.157, allocations: 3.969 kB / 0.7447 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/1.157, allocations: 0 / 0.7447 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.601e-05/1.157, allocations: 19.25 kB / 0.7447 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/1.157, allocations: 65.34 kB / 0.7448 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.157, allocations: 1.453 kB / 0.7448 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/1.157, allocations: 0 / 0.7448 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.157, allocations: 0 / 0.7448 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/1.158, allocations: 238.2 kB / 0.745 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/1.158, allocations: 38.53 kB / 0.7451 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/1.158, allocations: 15.42 kB / 0.7451 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/1.158, allocations: 3.938 kB / 0.7451 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.087e-05/1.158, allocations: 55.31 kB / 0.7451 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/1.158, allocations: 0 / 0.7451 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001893/1.158, allocations: 55.8 kB / 0.7452 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/1.158, allocations: 106.8 kB / 0.7453 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/1.158, allocations: 96.83 kB / 0.7454 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/1.158, allocations: 25.7 kB / 0.7454 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/1.158, allocations: 88.33 kB / 0.7455 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/1.158, allocations: 7.844 kB / 0.7455 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/1.158, allocations: 2.531 kB / 0.7455 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.158, allocations: 319.5 kB / 0.7458 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/1.158, allocations: 7.062 kB / 0.7458 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/1.159, allocations: 39.14 kB / 0.7459 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/1.159, allocations: 20.34 kB / 0.7459 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.159, allocations: 1.594 kB / 0.7459 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.637e-05/1.159, allocations: 55.14 kB / 0.7459 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.159, allocations: 3.906 kB / 0.7459 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.159, allocations: 0 / 0.7459 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.159, allocations: 3.844 kB / 0.7459 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/1.159, allocations: 6.672 kB / 0.7459 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.159, allocations: 0 / 0.7459 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/1.159, allocations: 18.69 kB / 0.746 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/1.159, allocations: 0 / 0.746 GB, free: 25.19 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 (5): * Single equations (assignments): 5 * 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 7.88e-05/1.159, allocations: 110.5 kB / 0.7461 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/1.159, allocations: 3.844 kB / 0.7461 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/1.159, allocations: 7.594 kB / 0.7461 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.159, allocations: 0 / 0.7461 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.159, allocations: 5.406 kB / 0.7461 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.159, allocations: 0 / 0.7461 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/1.159, allocations: 145.5 kB / 0.7462 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.159, allocations: 0 / 0.7462 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/1.159, allocations: 6.203 kB / 0.7462 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.159, allocations: 0 / 0.7462 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/1.159, allocations: 0.75 kB / 0.7462 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.159, allocations: 4.609 kB / 0.7462 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.159, allocations: 0 / 0.7462 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001169/1.159, allocations: 84.78 kB / 0.7463 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000214/1.16, allocations: 464.9 kB / 0.7468 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/1.16, allocations: 84.62 kB / 0.7468 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/1.16, allocations: 3.844 kB / 0.7468 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/1.16, allocations: 14.83 kB / 0.7469 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/1.16, allocations: 5.531 kB / 0.7469 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/1.16, allocations: 4.359 kB / 0.7469 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.749e-05/1.16, allocations: 85.92 kB / 0.7469 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007649/1.161, allocations: 12.16 kB / 0.747 GB, free: 24.21 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 (4): * Single equations (assignments): 3 * 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.0001549/1.161, allocations: 97.7 kB / 0.7471 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001038/1.161, allocations: 27.17 kB / 0.7471 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.161, allocations: 3.938 kB / 0.7471 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/1.161, allocations: 19.64 kB / 0.7471 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/1.161, allocations: 11.95 kB / 0.7471 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/1.161, allocations: 68.25 kB / 0.7472 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/1.162, allocations: 0.6968 MB / 0.7479 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.162, allocations: 0 / 0.7479 GB, free: 23.35 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)