Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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 7.0.3-maint.7.0.x/package.mo): time 1.272/1.272, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009947/0.0009946, allocations: 180.4 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008962/0.0008964, allocations: 83.45 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3541/0.3551, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.5158, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4961/1.012, allocations: 154 MB / 1.035 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/1.012, allocations: 95.5 kB / 1.035 GB, free: 1.73 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.08508/1.097, allocations: 37.05 MB / 1.071 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.097, allocations: 12 kB / 1.071 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/1.099, allocations: 246.5 kB / 1.072 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/1.1, allocations: 0.5376 MB / 1.072 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/1.1, allocations: 24 kB / 1.072 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/1.1, allocations: 39.98 kB / 1.072 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/1.101, allocations: 0.6148 MB / 1.073 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/1.103, allocations: 1.038 MB / 1.074 GB, free: 400 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/1.103, allocations: 15.84 kB / 1.074 GB, free: 384 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/1.103, allocations: 4 kB / 1.074 GB, free: 380 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/1.103, allocations: 51.84 kB / 1.074 GB, free: 332 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004854/1.108, allocations: 5.8 MB / 1.08 GB, free: 10.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/1.109, allocations: 0.52 MB / 1.08 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/1.109, allocations: 322.4 kB / 1.08 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/1.109, allocations: 4.438 kB / 1.08 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/1.109, allocations: 37.56 kB / 1.08 GB, free: 10.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/1.109, allocations: 4 kB / 1.08 GB, free: 10.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001945/1.111, allocations: 1.184 MB / 1.082 GB, free: 9.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/1.111, allocations: 59.84 kB / 1.082 GB, free: 9.043 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/1.111, allocations: 397.2 kB / 1.082 GB, free: 8.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/1.112, allocations: 25.7 kB / 1.082 GB, free: 8.699 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/1.112, allocations: 351.8 kB / 1.082 GB, free: 8.387 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/1.112, allocations: 163.8 kB / 1.083 GB, free: 8.246 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/1.112, allocations: 0 / 1.083 GB, free: 8.246 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.112, allocations: 364.8 kB / 1.083 GB, free: 7.902 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/1.112, allocations: 264.3 kB / 1.083 GB, free: 7.738 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/1.113, allocations: 447.2 kB / 1.084 GB, free: 7.324 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/1.113, allocations: 327.6 kB / 1.084 GB, free: 7.109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.113, allocations: 4 kB / 1.084 GB, free: 7.105 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001609/1.115, allocations: 0.9781 MB / 1.085 GB, free: 6.336 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.115, allocations: 8 kB / 1.085 GB, free: 6.328 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.115, allocations: 4 kB / 1.085 GB, free: 6.324 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008004/1.116, allocations: 283.8 kB / 1.085 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/1.116, allocations: 119.8 kB / 1.085 GB, free: 5.973 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005531/1.122, allocations: 6.197 MB / 1.091 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/1.122, allocations: 20.05 kB / 1.091 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/1.122, allocations: 35.98 kB / 1.091 GB, free: 15.78 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001824/1.123, allocations: 116.8 kB / 1.091 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/1.123, allocations: 63.25 kB / 1.091 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/1.124, allocations: 0.8522 MB / 1.092 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/1.124, allocations: 8 kB / 1.092 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.124, allocations: 7.938 kB / 1.092 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.124, allocations: 3.984 kB / 1.092 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/1.127, allocations: 1.593 MB / 1.094 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.127, allocations: 4 kB / 1.094 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/1.127, allocations: 52.09 kB / 1.094 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007479/1.128, allocations: 269.7 kB / 1.094 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/1.128, allocations: 0 / 1.094 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005746/1.134, allocations: 6.187 MB / 1.1 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.134, allocations: 4 kB / 1.1 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001662/1.136, allocations: 1.025 MB / 1.101 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001567/1.137, allocations: 1.394 MB / 1.103 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/1.137, allocations: 190.3 kB / 1.103 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.138, allocations: 4.188 kB / 1.103 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/1.138, allocations: 15.98 kB / 1.103 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/1.138, allocations: 26.75 kB / 1.103 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/1.138, allocations: 18.19 kB / 1.103 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003068/1.138, allocations: 300.2 kB / 1.103 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001303/1.14, allocations: 192 kB / 1.103 GB, free: 4.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001611/1.14, allocations: 111.1 kB / 1.103 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001684/1.142, allocations: 1.155 MB / 1.105 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.142, allocations: 0 / 1.105 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/1.143, allocations: 0.8041 MB / 1.105 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008348/1.144, allocations: 160.3 kB / 1.105 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/1.146, allocations: 0.9863 MB / 1.106 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/1.146, allocations: 1.045 MB / 1.107 GB, free: 492 kB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/1.146, allocations: 0 / 1.107 GB, free: 492 kB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)