Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",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 trunk/package.mo): time 0.0009842/0.0009842, allocations: 195.4 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.109/1.109, allocations: 225.5 MB / 234.4 MB, free: 3.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008528/0.0008529, allocations: 96.14 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09826/0.09914, allocations: 56.91 MB / 343.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.1842, allocations: 51.47 MB / 394.7 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.3967, allocations: 81.5 MB / 476.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.3969, allocations: 82.69 kB / 476.3 MB, free: 11.2 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.02899/0.4259, allocations: 12.7 MB / 489 MB, free: 1.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.426, allocations: 19.98 kB / 489 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.46e-05/0.4261, allocations: 63.34 kB / 489.1 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.4265, allocations: 354.1 kB / 489.4 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4265, allocations: 16 kB / 489.4 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.4266, allocations: 28 kB / 489.5 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004761/0.4271, allocations: 309.9 kB / 489.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.4275, allocations: 328.2 kB / 490.1 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4276, allocations: 3.906 kB / 490.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.4276, allocations: 0 / 490.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4276, allocations: 12 kB / 490.1 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.4298, allocations: 1.522 MB / 491.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.4303, allocations: 264.8 kB / 491.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.4306, allocations: 160.5 kB / 492 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.4307, allocations: 9.422 kB / 492.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.4307, allocations: 38.58 kB / 492.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.4307, allocations: 4 kB / 492.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.001718/0.4324, allocations: 0.8178 MB / 492.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.4325, allocations: 59.89 kB / 493 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.4328, allocations: 330.6 kB / 493.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.4328, allocations: 25.7 kB / 493.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.433, allocations: 274.7 kB / 493.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.4331, allocations: 179.8 kB / 493.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.4331, allocations: 0 / 493.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4332, allocations: 357.7 kB / 494.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.4334, allocations: 131.8 kB / 494.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.4337, allocations: 243.8 kB / 494.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.434, allocations: 169.3 kB / 494.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.434, allocations: 0 / 494.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001005/0.435, allocations: 0.6038 MB / 495.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.435, allocations: 4 kB / 495.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4351, allocations: 4 kB / 495.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004966/0.4356, allocations: 177.2 kB / 495.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.4361, allocations: 123.5 kB / 495.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/0.4396, allocations: 3.665 MB / 499.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.44, allocations: 39.91 kB / 499.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.44, allocations: 19.06 kB / 499.3 MB, free: 8.348 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.4401, allocations: 114.7 kB / 499.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.4402, allocations: 51.28 kB / 499.4 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.114e-05/0.4403, allocations: 57.42 kB / 499.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4403, allocations: 8 kB / 499.5 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.4403, allocations: 4 kB / 499.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4403, allocations: 0 / 499.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.4421, allocations: 1.109 MB / 0.4889 GB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4421, allocations: 128 / 0.4889 GB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.4425, allocations: 77.95 kB / 0.489 GB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/0.4429, allocations: 157.6 kB / 0.4891 GB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.4429, allocations: 4 kB / 0.4891 GB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/0.4461, allocations: 3.475 MB / 0.4925 GB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4461, allocations: 8.047 kB / 0.4925 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008262/0.4469, allocations: 0.6351 MB / 0.4931 GB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009015/0.4479, allocations: 1.016 MB / 0.4941 GB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.715e-05/0.448, allocations: 123.7 kB / 0.4942 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.448, allocations: 6.625 kB / 0.4942 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.4483, allocations: 27.91 kB / 0.4943 GB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.4484, allocations: 31.64 kB / 0.4943 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.4484, allocations: 11.5 kB / 0.4943 GB, free: 1.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002304/0.4487, allocations: 247.5 kB / 0.4946 GB, free: 1.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001219/0.4499, allocations: 127.9 kB / 0.4947 GB, free: 1.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001355/0.4501, allocations: 110.6 kB / 0.4948 GB, free: 1.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009145/0.451, allocations: 0.6191 MB / 0.4954 GB, free: 1.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.451, allocations: 0 / 0.4954 GB, free: 1.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.4515, allocations: 426.6 kB / 0.4958 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.4518, allocations: 24.36 kB / 0.4958 GB, free: 0.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.4532, allocations: 0.6515 MB / 0.4964 GB, free: 68 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.4537, allocations: 0.9182 MB / 0.4973 GB, free: 15.13 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4537, allocations: 0 / 0.4973 GB, free: 15.13 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1)