Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.17/2.17, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001566/0.001566, allocations: 181.2 kB / 360.3 MB, free: 7.559 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.648/1.648, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001211/0.00121, allocations: 84.53 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.242/0.2432, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.7879, allocations: 115.2 MB / 0.9628 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2669/1.055, allocations: 180.9 MB / 1.139 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/1.055, allocations: 96.78 kB / 1.14 GB, free: 7.773 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.1157/1.171, allocations: 28.82 MB / 1.168 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.171, allocations: 8.5 kB / 1.168 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/1.175, allocations: 430.8 kB / 1.168 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/1.177, allocations: 475.3 kB / 1.169 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.177, allocations: 12 kB / 1.169 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/1.177, allocations: 19.91 kB / 1.169 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/1.178, allocations: 489 kB / 1.169 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/1.18, allocations: 0.5554 MB / 1.17 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/1.18, allocations: 3.938 kB / 1.17 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/1.18, allocations: 0 / 1.17 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/1.18, allocations: 29.48 kB / 1.17 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006856/1.187, allocations: 2.746 MB / 1.172 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/1.188, allocations: 322.3 kB / 1.173 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/1.189, allocations: 168.8 kB / 1.173 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/1.189, allocations: 93.09 kB / 1.173 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/1.189, allocations: 30.56 kB / 1.173 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 3.306e-06/1.189, allocations: 0 / 1.173 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.008184/1.197, allocations: 1.484 MB / 1.174 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/1.197, allocations: 86.98 kB / 1.174 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/1.198, allocations: 331.4 kB / 1.175 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/1.198, allocations: 25.7 kB / 1.175 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/1.198, allocations: 207.6 kB / 1.175 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/1.198, allocations: 78.91 kB / 1.175 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/1.198, allocations: 0 / 1.175 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.198, allocations: 346.7 kB / 1.175 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/1.199, allocations: 251.8 kB / 1.176 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/1.2, allocations: 332.5 kB / 1.176 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009861/1.201, allocations: 301.5 kB / 1.176 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.201, allocations: 0 / 1.176 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005448/1.206, allocations: 1.01 MB / 1.177 GB, free: 0.6172 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004242/1.207, allocations: 0.7823 MB / 1.178 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.207, allocations: 11.92 kB / 1.178 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00415/1.211, allocations: 413.2 kB / 1.178 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.212, allocations: 111.8 kB / 1.178 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006706/1.219, allocations: 2.949 MB / 1.181 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/1.22, allocations: 83.91 kB / 1.181 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/1.221, allocations: 16.67 kB / 1.181 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.221, allocations: 4 kB / 1.181 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/1.222, allocations: 485.8 kB / 1.182 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.222, allocations: 4 kB / 1.182 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/1.222, allocations: 4 kB / 1.182 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.223, allocations: 132.1 kB / 1.182 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/1.224, allocations: 11.92 kB / 1.182 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.225, allocations: 69.55 kB / 1.182 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/1.225, allocations: 17.62 kB / 1.182 GB, free: 11.34 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002062/1.225, allocations: 116.6 kB / 1.182 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.225, allocations: 39.56 kB / 1.182 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005769/1.231, allocations: 1.06 MB / 1.183 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.231, allocations: 7.906 kB / 1.183 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.231, allocations: 0 / 1.183 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.231, allocations: 144 / 1.183 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007025/1.238, allocations: 1.67 MB / 1.185 GB, free: 8.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.238, allocations: 5.688 kB / 1.185 GB, free: 8.371 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/1.239, allocations: 83.94 kB / 1.185 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004577/1.243, allocations: 0.5479 MB / 1.186 GB, free: 7.734 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/1.243, allocations: 4 kB / 1.186 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008818/1.252, allocations: 4.053 MB / 1.19 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.252, allocations: 0 / 1.19 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005361/1.258, allocations: 1.119 MB / 1.191 GB, free: 2.285 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00564/1.263, allocations: 1.493 MB / 1.192 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/1.264, allocations: 168.6 kB / 1.192 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.264, allocations: 4 kB / 1.192 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.265, allocations: 75.89 kB / 1.192 GB, free: 488 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.265, allocations: 23.97 kB / 1.192 GB, free: 464 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/1.266, allocations: 8 kB / 1.192 GB, free: 456 kB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0004873/1.266, allocations: 270 kB / 1.193 GB, free: 188 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002816/1.269, allocations: 215.8 kB / 1.193 GB, free: 15.97 MB / 0.8073 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 (19): * Single equations (assignments): 17 * 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: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/1.269, allocations: 157.9 kB / 1.193 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002919/1.272, allocations: 0.9727 MB / 1.194 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.272, allocations: 0 / 1.194 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.274, allocations: 0.5273 MB / 1.194 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/1.275, allocations: 108.1 kB / 1.195 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/1.277, allocations: 0.7611 MB / 1.195 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.278, allocations: 0.9591 MB / 1.196 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.322e-06/1.278, allocations: 0 / 1.196 GB, free: 12.4 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)