Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",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/Buildings 8.0.0/package.mo): time 2.115/2.115, allocations: 284.8 MB / 292.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.00159, allocations: 181.3 kB / 360.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 0.6187 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001221, allocations: 97.59 kB / 0.7317 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2446/0.2459, allocations: 121.4 MB / 0.8502 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.7937, allocations: 115.2 MB / 0.9628 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2571/1.051, allocations: 172 MB / 1.131 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003593/1.051, allocations: 101.5 kB / 1.131 GB, free: 0.6328 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.09802/1.149, allocations: 24.41 MB / 1.155 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.149, allocations: 15.92 kB / 1.155 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/1.151, allocations: 139.4 kB / 1.155 GB, free: 7.953 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007973/1.152, allocations: 328.7 kB / 1.155 GB, free: 7.59 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.152, allocations: 16 kB / 1.155 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.975e-05/1.152, allocations: 20 kB / 1.155 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/1.153, allocations: 397.5 kB / 1.156 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/1.155, allocations: 0.5649 MB / 1.156 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/1.155, allocations: 2.344 kB / 1.156 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/1.155, allocations: 7.938 kB / 1.156 GB, free: 6.539 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/1.155, allocations: 28.64 kB / 1.156 GB, free: 6.508 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/1.161, allocations: 3.449 MB / 1.159 GB, free: 2.77 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/1.162, allocations: 309.1 kB / 1.16 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/1.162, allocations: 165.7 kB / 1.16 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/1.162, allocations: 11.98 kB / 1.16 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/1.162, allocations: 42.5 kB / 1.16 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 3.316e-06/1.162, allocations: 0 / 1.16 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.003315/1.166, allocations: 0.6288 MB / 1.161 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/1.166, allocations: 85.05 kB / 1.161 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/1.166, allocations: 267.2 kB / 1.161 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/1.166, allocations: 29.7 kB / 1.161 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.166, allocations: 239.2 kB / 1.161 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/1.167, allocations: 94.64 kB / 1.161 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/1.167, allocations: 0 / 1.161 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.167, allocations: 338.8 kB / 1.162 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/1.167, allocations: 176.9 kB / 1.162 GB, free: 336 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/1.168, allocations: 320.5 kB / 1.162 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009009/1.169, allocations: 255.7 kB / 1.162 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.169, allocations: 0 / 1.162 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003406/1.172, allocations: 0.7117 MB / 1.163 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009385/1.173, allocations: 2.09 MB / 1.165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.173, allocations: 4 kB / 1.165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/1.176, allocations: 205.4 kB / 1.165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007824/1.176, allocations: 89.39 kB / 1.165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/1.178, allocations: 1.288 MB / 1.167 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/1.179, allocations: 27.83 kB / 1.167 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/1.179, allocations: 16 kB / 1.167 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/1.179, allocations: 4 kB / 1.167 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/1.181, allocations: 456.1 kB / 1.167 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.181, allocations: 8 kB / 1.167 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.181, allocations: 8 kB / 1.167 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/1.182, allocations: 103.8 kB / 1.167 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.182, allocations: 10.27 kB / 1.167 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/1.182, allocations: 19.89 kB / 1.167 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/1.182, allocations: 21.06 kB / 1.167 GB, free: 10.42 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001758/1.182, allocations: 127.7 kB / 1.167 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/1.182, allocations: 35.86 kB / 1.167 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/1.186, allocations: 0.6316 MB / 1.168 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.186, allocations: 7.938 kB / 1.168 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.186, allocations: 4.656 kB / 1.168 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/1.186, allocations: 3.984 kB / 1.168 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/1.187, allocations: 0.5941 MB / 1.169 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.187, allocations: 7.922 kB / 1.169 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/1.188, allocations: 35.98 kB / 1.169 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/1.19, allocations: 369.3 kB / 1.169 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/1.191, allocations: 0 / 1.169 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006282/1.197, allocations: 3.225 MB / 1.172 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.197, allocations: 1.594 kB / 1.172 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003292/1.2, allocations: 0.8294 MB / 1.173 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003417/1.204, allocations: 1.205 MB / 1.174 GB, free: 2.961 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/1.204, allocations: 144.6 kB / 1.174 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/1.204, allocations: 0 / 1.174 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/1.205, allocations: 23.88 kB / 1.174 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/1.205, allocations: 23.91 kB / 1.174 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/1.205, allocations: 8 kB / 1.174 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0003255/1.205, allocations: 203.1 kB / 1.175 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002856/1.208, allocations: 180 kB / 1.175 GB, free: 2.371 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002326/1.208, allocations: 118.1 kB / 1.175 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002331/1.211, allocations: 0.6968 MB / 1.175 GB, free: 1.551 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.211, allocations: 2 kB / 1.175 GB, free: 1.551 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/1.212, allocations: 435.4 kB / 1.176 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006374/1.213, allocations: 52.94 kB / 1.176 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/1.214, allocations: 0.5487 MB / 1.176 GB, free: 488 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008306/1.215, allocations: 0.8848 MB / 1.177 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of SimCode: time 8.11e-07/1.215, allocations: 0 / 1.177 GB, free: 15.57 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)