Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.659/2.659, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001493/0.001493, allocations: 181.6 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 107.8 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005179, allocations: 20.5 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2533, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9678/1.221, allocations: 141.9 MB / 1.117 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.222, allocations: 93.17 kB / 1.117 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05276/1.274, allocations: 13.28 MB / 1.13 GB, free: 29.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.335e-06/1.274, allocations: 0 / 1.13 GB, free: 29.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.265e-05/1.274, allocations: 3.875 kB / 1.13 GB, free: 29.71 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001105/1.276, allocations: 0.5631 MB / 1.13 GB, free: 29.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.276, allocations: 7.812 kB / 1.13 GB, free: 29.19 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/1.276, allocations: 41.64 kB / 1.13 GB, free: 29.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/1.276, allocations: 23.41 kB / 1.13 GB, free: 29.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007037/1.276, allocations: 252.9 kB / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/1.277, allocations: 10 kB / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/1.277, allocations: 19.06 kB / 1.131 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/1.277, allocations: 114.2 kB / 1.131 GB, free: 28.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.277, allocations: 3.938 kB / 1.131 GB, free: 28.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/1.277, allocations: 7.125 kB / 1.131 GB, free: 28.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.277, allocations: 0 / 1.131 GB, free: 28.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/1.277, allocations: 51.72 kB / 1.131 GB, free: 28.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/1.278, allocations: 0.5487 MB / 1.131 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/1.279, allocations: 98.22 kB / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/1.279, allocations: 3.844 kB / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/1.279, allocations: 119.4 kB / 1.132 GB, free: 28.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.424e-06/1.279, allocations: 0 / 1.132 GB, free: 28.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0004948/1.279, allocations: 172.1 kB / 1.132 GB, free: 28.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/1.279, allocations: 88.88 kB / 1.132 GB, free: 28.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/1.28, allocations: 177 kB / 1.132 GB, free: 27.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/1.28, allocations: 32.42 kB / 1.132 GB, free: 27.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.28, allocations: 130.7 kB / 1.132 GB, free: 27.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/1.28, allocations: 26.83 kB / 1.132 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/1.28, allocations: 11.22 kB / 1.132 GB, free: 27.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.28, allocations: 325.5 kB / 1.133 GB, free: 27.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-05/1.28, allocations: 29.48 kB / 1.133 GB, free: 27.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/1.281, allocations: 130.3 kB / 1.133 GB, free: 27.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/1.281, allocations: 46.41 kB / 1.133 GB, free: 27.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.281, allocations: 0 / 1.133 GB, free: 27.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003694/1.281, allocations: 157.4 kB / 1.133 GB, free: 27.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.281, allocations: 9.875 kB / 1.133 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.281, allocations: 4 kB / 1.133 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.281, allocations: 3.844 kB / 1.133 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/1.281, allocations: 27.41 kB / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.281, allocations: 7.828 kB / 1.133 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/1.282, allocations: 27.27 kB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/1.282, allocations: 7.688 kB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0001792/1.282, allocations: 138.6 kB / 1.133 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/1.282, allocations: 23.45 kB / 1.133 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/1.282, allocations: 19.66 kB / 1.133 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.282, allocations: 3.844 kB / 1.133 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.282, allocations: 3.953 kB / 1.133 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.282, allocations: 0 / 1.133 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008522/1.283, allocations: 469.4 kB / 1.134 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.283, allocations: 0 / 1.134 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/1.283, allocations: 3.844 kB / 1.134 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/1.283, allocations: 3.953 kB / 1.134 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/1.283, allocations: 7.484 kB / 1.134 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/1.283, allocations: 3.594 kB / 1.134 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.283, allocations: 11.81 kB / 1.134 GB, free: 26.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/1.283, allocations: 237.5 kB / 1.134 GB, free: 26.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/1.283, allocations: 104 kB / 1.134 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/1.283, allocations: 0 / 1.134 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/1.284, allocations: 18.98 kB / 1.134 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/1.284, allocations: 18.91 kB / 1.134 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/1.284, allocations: 15.67 kB / 1.134 GB, free: 26.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001494/1.284, allocations: 139.9 kB / 1.134 GB, free: 26.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.284, allocations: 0 / 1.134 GB, free: 26.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000453/1.284, allocations: 45.59 kB / 1.134 GB, free: 26.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001002/1.286, allocations: 0.9184 MB / 1.135 GB, free: 25.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003242/1.286, allocations: 101.9 kB / 1.135 GB, free: 25.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.286, allocations: 0 / 1.135 GB, free: 25.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.286, allocations: 52.64 kB / 1.135 GB, free: 25.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/1.287, allocations: 46.67 kB / 1.135 GB, free: 25.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/1.288, allocations: 1.486 MB / 1.137 GB, free: 24.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/1.288, allocations: 0.7326 MB / 1.137 GB, free: 23.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001308/1.288, allocations: 21 kB / 1.138 GB, free: 23.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.289, allocations: 57.47 kB / 1.138 GB, free: 23.34 MB / 0.698 GB Notification: Performance of SimCode: time 1.153e-06/1.289, allocations: 0 / 1.138 GB, free: 23.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/1.314, allocations: 4.911 MB / 1.142 GB, free: 21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003896/1.315, allocations: 256.3 kB / 1.143 GB, free: 20.66 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/plotFree.c:8:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o] Error 1