Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.004514/0.004514, allocations: 180.2 kB / 7.458 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.6842/0.6842, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.536/1.536, 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.001271/0.001272, allocations: 98.16 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4243/0.4256, allocations: 88.44 MB / 0.5529 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.5943, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5254/1.12, allocations: 111.2 MB / 0.7419 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/1.12, allocations: 78.05 kB / 0.742 GB, free: 10.94 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.007306/1.127, allocations: 2.728 MB / 0.7446 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.127, allocations: 11.38 kB / 0.7446 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/1.127, allocations: 4.609 kB / 0.7447 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/1.128, allocations: 172.4 kB / 0.7448 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/1.128, allocations: 0 / 0.7448 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/1.128, allocations: 3.906 kB / 0.7448 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.868e-05/1.128, allocations: 20.38 kB / 0.7448 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.941e-05/1.128, allocations: 56.44 kB / 0.7449 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/1.128, allocations: 0 / 0.7449 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/1.128, allocations: 3.844 kB / 0.7449 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.128, allocations: 0.6562 kB / 0.7449 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/1.128, allocations: 245.4 kB / 0.7451 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/1.128, allocations: 34.05 kB / 0.7452 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/1.128, allocations: 18.88 kB / 0.7452 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/1.128, allocations: 0.5156 kB / 0.7452 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.202e-05/1.128, allocations: 51.56 kB / 0.7452 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/1.128, allocations: 0 / 0.7452 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001587/1.129, allocations: 64.61 kB / 0.7453 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/1.129, allocations: 103.5 kB / 0.7454 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/1.129, allocations: 97.8 kB / 0.7455 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/1.129, allocations: 26.36 kB / 0.7455 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/1.129, allocations: 84.48 kB / 0.7456 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/1.129, allocations: 12.44 kB / 0.7456 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/1.129, allocations: 0 / 0.7456 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.129, allocations: 315 kB / 0.7459 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/1.129, allocations: 11.95 kB / 0.7459 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/1.129, allocations: 35.91 kB / 0.7459 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/1.129, allocations: 13.61 kB / 0.746 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.129, allocations: 0.9375 kB / 0.746 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.912e-05/1.129, allocations: 63.06 kB / 0.746 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/1.129, allocations: 6.844 kB / 0.746 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/1.129, allocations: 0.6094 kB / 0.746 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/1.129, allocations: 0 / 0.746 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/1.129, allocations: 9 kB / 0.746 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/1.129, allocations: 4.469 kB / 0.746 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/1.129, allocations: 14.52 kB / 0.7461 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.129, allocations: 0.5625 kB / 0.7461 GB, free: 25.09 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 8.413e-05/1.13, allocations: 109.3 kB / 0.7462 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/1.13, allocations: 8.5 kB / 0.7462 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/1.13, allocations: 12.19 kB / 0.7462 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/1.13, allocations: 4 kB / 0.7462 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/1.13, allocations: 0 / 0.7462 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.13, allocations: 0.75 kB / 0.7462 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/1.13, allocations: 149 kB / 0.7463 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.13, allocations: 0 / 0.7463 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/1.13, allocations: 0.5156 kB / 0.7463 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.13, allocations: 3.969 kB / 0.7463 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/1.13, allocations: 0.75 kB / 0.7463 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.13, allocations: 4.703 kB / 0.7463 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.13, allocations: 3.938 kB / 0.7463 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001064/1.13, allocations: 75.77 kB / 0.7464 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002296/1.13, allocations: 464.2 kB / 0.7469 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/1.13, allocations: 88.56 kB / 0.7469 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/1.13, allocations: 0.7031 kB / 0.7469 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.13, allocations: 14.41 kB / 0.747 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/1.13, allocations: 9.25 kB / 0.747 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/1.13, allocations: 0.75 kB / 0.747 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.984e-05/1.131, allocations: 83.48 kB / 0.747 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007325/1.131, allocations: 12.09 kB / 0.7471 GB, free: 24.11 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.0001533/1.131, allocations: 103.6 kB / 0.7472 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001009/1.132, allocations: 31.86 kB / 0.7472 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.132, allocations: 4 kB / 0.7472 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/1.132, allocations: 11.61 kB / 0.7472 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/1.132, allocations: 15.23 kB / 0.7472 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/1.132, allocations: 68.11 kB / 0.7473 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/1.132, allocations: 0.6933 MB / 0.748 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.132, allocations: 0 / 0.748 GB, free: 23.23 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)